diff options
Diffstat (limited to 'vio/vio/swagger/tests.py')
-rw-r--r-- | vio/vio/swagger/tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vio/vio/swagger/tests.py b/vio/vio/swagger/tests.py index a3f2c3b..21a231d 100644 --- a/vio/vio/swagger/tests.py +++ b/vio/vio/swagger/tests.py @@ -11,7 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import unittest -import json +# import json from django.test import Client from rest_framework import status @@ -25,6 +25,7 @@ class SampleViewTest(unittest.TestCase): def test_sample(self): response = self.client.get("/api/multicloud-vio/v0/swagger.json") - self.assertEqual(status.HTTP_200_OK, response.status_code, response.content) + self.assertEqual(status.HTTP_200_OK, + response.status_code, response.content) # resp_data = json.loads(response.content) # self.assertEqual({"status": "active"}, resp_data) |