Skip to content

Commit

Permalink
chore(deps): update all dependencies (#310)
Browse files Browse the repository at this point in the history
* 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 <partheniou@google.com>
  • Loading branch information
3 people authored and dandhlee committed Nov 16, 2022
1 parent 8bc2277 commit d37c394
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def create_with_existing_disks(project_id: str, zone: str, instance_name: str, d
Returns:
Instance object.
"""
assert(len(disk_names) >= 1)
assert len(disk_names) >= 1
disks = [get_disk(project_id, zone, disk_name) for disk_name in disk_names]
attached_disks = []
for disk in disks:
Expand Down
2 changes: 1 addition & 1 deletion compute/compute/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==7.1.2
pytest-parallel==0.1.1
flaky==3.7.0
google-cloud-storage==2.3.0
google-cloud-storage==2.4.0
4 changes: 2 additions & 2 deletions compute/compute/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
isort==5.10.1
black==22.3.0
google-cloud-compute==1.3.2
black==22.6.0
google-cloud-compute==1.4.0
6 changes: 3 additions & 3 deletions compute/compute/snippets/tests/test_disks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def test_disk_create_delete(autodelete_disk_name):
debian_image = get_image_from_family('debian-cloud', 'debian-11')

disk = create_disk_from_image(PROJECT, ZONE, autodelete_disk_name, disk_type, 17, debian_image.self_link)
assert(disk.name == autodelete_disk_name)
assert(disk.type_.endswith(disk_type))
assert(disk.size_gb == 17)
assert disk.name == autodelete_disk_name
assert disk.type_.endswith(disk_type)
assert disk.size_gb == 17

for i_disk in list_disks(PROJECT, ZONE):
if i_disk.name == autodelete_disk_name:
Expand Down
4 changes: 2 additions & 2 deletions compute/compute/snippets/tests/test_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def test_disk():
def test_snapshot_create_delete(test_disk):
snapshot_name = "test-snapshot-" + uuid.uuid4().hex[:10]
snapshot = create_snapshot(PROJECT, test_disk.name, snapshot_name, zone=ZONE)
assert(snapshot.name == snapshot_name)
assert(snapshot.source_disk == test_disk.self_link)
assert snapshot.name == snapshot_name
assert snapshot.source_disk == test_disk.self_link
for i_snapshot in list_snapshots(PROJECT):
if i_snapshot.name == snapshot_name:
break
Expand Down

0 comments on commit d37c394

Please sign in to comment.