diff options
Diffstat (limited to 'res/res/resources/tests.py')
-rw-r--r-- | res/res/resources/tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/res/resources/tests.py b/res/res/resources/tests.py index 4bddc71..7211b81 100644 --- a/res/res/resources/tests.py +++ b/res/res/resources/tests.py @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + + from django.test import TestCase, Client from rest_framework import status @@ -212,4 +214,4 @@ class ResourceTest(TestCase): def test_swagger_ok(self): resp = self.client.get("/api/vnfres/v1/swagger.json", format='json') - self.assertEqual(resp.status_code, status.HTTP_200_OK, resp.content)
\ No newline at end of file + self.assertEqual(resp.status_code, status.HTTP_200_OK, resp.content) |