diff --git a/pylxd/models/tests/test_image.py b/pylxd/models/tests/test_image.py index 8696e65d..063eedf8 100644 --- a/pylxd/models/tests/test_image.py +++ b/pylxd/models/tests/test_image.py @@ -109,7 +109,7 @@ def test_all(self): def test_create(self): """An image is created.""" fingerprint = hashlib.sha256(b"").hexdigest() - a_image = models.Image.create(self.client, b"", public=True, wait=True) + a_image = models.Image.create(self.client, b"", public=True) self.assertIsInstance(a_image, models.Image) self.assertEqual(fingerprint, a_image.fingerprint) @@ -117,9 +117,7 @@ def test_create(self): def test_create_with_metadata(self): """An image with metadata is created.""" fingerprint = hashlib.sha256(b"").hexdigest() - a_image = models.Image.create( - self.client, b"", metadata=b"", public=True, wait=True - ) + a_image = models.Image.create(self.client, b"", metadata=b"", public=True) self.assertIsInstance(a_image, models.Image) self.assertEqual(fingerprint, a_image.fingerprint) @@ -128,7 +126,7 @@ def test_create_with_metadata_streamed(self): """An image with metadata is created.""" fingerprint = hashlib.sha256(b"").hexdigest() a_image = models.Image.create( - self.client, StringIO(""), metadata=StringIO(""), public=True, wait=True + self.client, StringIO(""), metadata=StringIO(""), public=True ) self.assertIsInstance(a_image, models.Image)