updated to make sure that tests still run correctly

This commit is contained in:
Stephan Huber 2018-06-14 09:56:53 +02:00
parent ea3366be35
commit 56ff66394d

View File

@ -152,7 +152,7 @@ class Image(BaseObject):
response_object['registryId'] = self.registry_id
response_object['imageSizeInBytes'] = self.image_size_in_bytes
response_object['imagePushedAt'] = '2017-05-09'
return {k: v for k, v in response_object.items() if v is not None and v != [None]}
return {k: v for k, v in response_object.items() if v is not None and v != []}
@property
def response_batch_get_image(self):