Rebase framework to py36
[multicloud/framework.git] / multivimbroker / multivimbroker / tests / test_check_capacity.py
index 64691e7..ba1f97e 100644 (file)
@@ -88,10 +88,10 @@ class CheckCapacityTest(unittest.TestCase):
         req.get_full_path.return_value = ("http://msb.onap.org/api/multicloud"
                                           "/v0/check_vim_capacity")
         req.META.items.return_value = [("Project", "projectname1")]
-        expect_body = {
-            "error": ("Invalidate request body "
-                      "No JSON object could be decoded.")
-        }
+        expect_body = {
+            "error": ("Invalidate request body "
+                      "No JSON object could be decoded.")
+        }
         resp = self.view.post(req)
         self.assertEqual(status.HTTP_400_BAD_REQUEST, resp.status_code)
-        self.assertDictEqual(expect_body, resp.data)
+        self.assertDictEqual(expect_body, resp.data)