Skip to content

Commit ab5e257

Browse files
renovate-botgcf-owl-bot[bot]parthea
authored
chore(deps): update all dependencies (#310)
* chore(deps): update all dependencies * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * revert * lint Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 435fa35 commit ab5e257

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

compute/compute/ingredients/instances/create_start_instance/create_with_existing_disks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def create_with_existing_disks(project_id: str, zone: str, instance_name: str, d
3737
Returns:
3838
Instance object.
3939
"""
40-
assert(len(disk_names) >= 1)
40+
assert len(disk_names) >= 1
4141
disks = [get_disk(project_id, zone, disk_name) for disk_name in disk_names]
4242
attached_disks = []
4343
for disk in disks:

compute/compute/requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pytest==7.1.2
22
pytest-parallel==0.1.1
33
flaky==3.7.0
4-
google-cloud-storage==2.3.0
4+
google-cloud-storage==2.4.0

compute/compute/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
isort==5.10.1
2-
black==22.3.0
3-
google-cloud-compute==1.3.2
2+
black==22.6.0
3+
google-cloud-compute==1.4.0

compute/compute/snippets/tests/test_disks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def test_disk_create_delete(autodelete_disk_name):
4242
debian_image = get_image_from_family('debian-cloud', 'debian-11')
4343

4444
disk = create_disk_from_image(PROJECT, ZONE, autodelete_disk_name, disk_type, 17, debian_image.self_link)
45-
assert(disk.name == autodelete_disk_name)
46-
assert(disk.type_.endswith(disk_type))
47-
assert(disk.size_gb == 17)
45+
assert disk.name == autodelete_disk_name
46+
assert disk.type_.endswith(disk_type)
47+
assert disk.size_gb == 17
4848

4949
for i_disk in list_disks(PROJECT, ZONE):
5050
if i_disk.name == autodelete_disk_name:

compute/compute/snippets/tests/test_snapshots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def test_disk():
4545
def test_snapshot_create_delete(test_disk):
4646
snapshot_name = "test-snapshot-" + uuid.uuid4().hex[:10]
4747
snapshot = create_snapshot(PROJECT, test_disk.name, snapshot_name, zone=ZONE)
48-
assert(snapshot.name == snapshot_name)
49-
assert(snapshot.source_disk == test_disk.self_link)
48+
assert snapshot.name == snapshot_name
49+
assert snapshot.source_disk == test_disk.self_link
5050
for i_snapshot in list_snapshots(PROJECT):
5151
if i_snapshot.name == snapshot_name:
5252
break

0 commit comments

Comments
 (0)