From d976f82548bf5ddc5d93947fabebc808c15c0e8e Mon Sep 17 00:00:00 2001 From: hamistao Date: Thu, 9 Jan 2025 00:11:19 -0300 Subject: [PATCH] pylxd/models/tests: Drop `wait` argument from tests Signed-off-by: hamistao --- pylxd/models/tests/test_image.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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)