From 254a32d9890321ec6d91a85c50c63f8f76e19655 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 12 Dec 2022 14:20:18 +0100 Subject: [PATCH] test settings version --- tests/test_snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_snapshot.py b/tests/test_snapshot.py index 40614ce3..dad60950 100644 --- a/tests/test_snapshot.py +++ b/tests/test_snapshot.py @@ -1421,7 +1421,7 @@ def test_settings_version(user: UserClient): """Tests when we have one computer and then we change the disk, then the new disk need to have placeholder too.""" s = yaml2json('real-eee-1001pxd.snapshot.12') - s['settings_version']= 'Basic Metadata (BM)' + s['settings_version'] = 'Basic Metadata (BM)' snap1, _ = user.post(s, res=Snapshot) dev1 = m.Device.query.filter_by(id=snap1['device']['id']).one() assert m.Placeholder.query.count() * 2 == m.Device.query.count()