- # test_swagger(self):
- # response = self.client.get("/api/nslcm/v1/swagger.json")
- # self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
+ # 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))