mirror of https://github.com/docker/docker-py.git
Fix duplicate dict key literal (ruff F601)
Signed-off-by: Aarni Koskela <akx@iki.fi>
This commit is contained in:
parent
a9a3775b15
commit
c68d532f54
|
|
@ -111,13 +111,6 @@ def get_fake_image_history():
|
||||||
return status_code, response
|
return status_code, response
|
||||||
|
|
||||||
|
|
||||||
def post_fake_import_image():
|
|
||||||
status_code = 200
|
|
||||||
response = 'Import messages...'
|
|
||||||
|
|
||||||
return status_code, response
|
|
||||||
|
|
||||||
|
|
||||||
def get_fake_containers():
|
def get_fake_containers():
|
||||||
status_code = 200
|
status_code = 200
|
||||||
response = [{
|
response = [{
|
||||||
|
|
@ -542,8 +535,6 @@ fake_responses = {
|
||||||
get_fake_images,
|
get_fake_images,
|
||||||
f'{prefix}/{CURRENT_VERSION}/images/test_image/history':
|
f'{prefix}/{CURRENT_VERSION}/images/test_image/history':
|
||||||
get_fake_image_history,
|
get_fake_image_history,
|
||||||
f'{prefix}/{CURRENT_VERSION}/images/create':
|
|
||||||
post_fake_import_image,
|
|
||||||
f'{prefix}/{CURRENT_VERSION}/containers/json':
|
f'{prefix}/{CURRENT_VERSION}/containers/json':
|
||||||
get_fake_containers,
|
get_fake_containers,
|
||||||
f'{prefix}/{CURRENT_VERSION}/containers/{FAKE_CONTAINER_ID}/start':
|
f'{prefix}/{CURRENT_VERSION}/containers/{FAKE_CONTAINER_ID}/start':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue