remove swagger test function
[vfc/nfvo/lcm.git] / lcm / ns / tests / test_ns_instant.py
index 955284c..6e50cb6 100644 (file)
 # 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.
-import mock
-from rest_framework import status
+
+from rest_framework import status
 from django.test import TestCase
 from django.test import Client
 
 from lcm.pub.database.models import NSInstModel
-from lcm.pub.utils import restcall
-from lcm.pub.utils import toscautil
 
 
 class TestNsInstant(TestCase):
@@ -58,8 +56,9 @@ class TestNsInstant(TestCase):
                 'additionalParamForNs': "[{\"a\":3},{\"e\":{\"f\":\"4\"}}]", 'flavorParams': ""}
         resp = self.client.post("/api/nslcm/v1/ns/123/instantiate", data, format='json')
         self.assertEqual(resp.status_code, status.HTTP_200_OK)
-    """
-    
+
+
     def test_swagger_ok(self):
         resp = self.client.get("/api/nslcm/v1/swagger.json", format='json')
         self.assertEqual(resp.status_code, status.HTTP_200_OK)
+    """