From 1cab3ab4ace1469dc125bce405bb9d8187ab64bb Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Thu, 6 Jun 2024 09:05:56 +0200 Subject: [PATCH] Fix style --- test/unit/REST.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/REST.py b/test/unit/REST.py index 2be21635..48f7a168 100755 --- a/test/unit/REST.py +++ b/test/unit/REST.py @@ -207,7 +207,7 @@ def test_CreateInfrastructure(self, get_infrastructure, CreateInfrastructure): res = self.client.post('/infrastructures', headers=headers, data=BytesIO(b"radl")) self.assertEqual(res.text, "http://localhost/infrastructures/1") - self.assertEqual(res.headers['InfID'],"1") + self.assertEqual(res.headers['InfID'], "1") res = self.client.post('/infrastructures?async=yes', headers=headers, data=BytesIO(b"radl")) self.assertEqual(res.text, "http://localhost/infrastructures/1") @@ -341,7 +341,7 @@ def test_AddResource(self, get_infrastructure, AddResource): res = self.client.post('/infrastructures/1?context=yes', headers=headers, data=BytesIO(b"radl")) self.assertEqual(res.text, "http://localhost/infrastructures/1/vms/1") - self.assertEqual(res.headers['InfID'],"1") + self.assertEqual(res.headers['InfID'], "1") headers["Content-Type"] = "application/json" res = self.client.post('/infrastructures/1', headers=headers, @@ -459,7 +459,7 @@ def test_Reconfigure(self, Reconfigure): res = self.client.put('/infrastructures/1/reconfigure?vmlist=1,2', headers=headers, data=BytesIO(b"radl")) self.assertEqual(res.text, "") - self.assertEqual(res.headers['InfID'],"1") + self.assertEqual(res.headers['InfID'], "1") headers["Content-Type"] = "application/json" res = self.client.put('/infrastructures/1/reconfigure?vmlist=1,2',