- def test_sample(self):
- response = self.client.get("/api/nslcm/v1/swagger.json")
- print response
- self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
-# resp_data = json.loads(response.content)
-# self.assertEqual({"status": "active"}, resp_data)
+ # def test_swagger(self):
+ # response = self.client.get("/api/nslcm/v1/swagger.json")
+ # self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
+ # with open('vfc.json', 'w') as swagger_file:
+ # swagger_file.write(json.dumps(response.data))