Skip to content

Commit

Permalink
Fix duplicate dict key literal (ruff F601)
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Aug 15, 2023
1 parent 5e28c0e commit 6fb7e6f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/unit/fake_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ def get_fake_image_history():
return status_code, response


def post_fake_import_image():
status_code = 200
response = 'Import messages...'

return status_code, response


def get_fake_containers():
status_code = 200
response = [{
Expand Down Expand Up @@ -542,8 +535,6 @@ def post_fake_secret():
get_fake_images,
f'{prefix}/{CURRENT_VERSION}/images/test_image/history':
get_fake_image_history,
f'{prefix}/{CURRENT_VERSION}/images/create':
post_fake_import_image,
f'{prefix}/{CURRENT_VERSION}/containers/json':
get_fake_containers,
f'{prefix}/{CURRENT_VERSION}/containers/{FAKE_CONTAINER_ID}/start':
Expand Down

0 comments on commit 6fb7e6f

Please sign in to comment.