summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mgr/mgr/vnfreg/tests.py4
-rw-r--r--mgr/tox.ini2
2 files changed, 3 insertions, 3 deletions
diff --git a/mgr/mgr/vnfreg/tests.py b/mgr/mgr/vnfreg/tests.py
index 6d95081..cfebaf5 100644
--- a/mgr/mgr/vnfreg/tests.py
+++ b/mgr/mgr/vnfreg/tests.py
@@ -128,7 +128,7 @@ class VnfRegTest(unittest.TestCase):
def test_set_vnf_normal(self):
self.client.post("/api/vnfmgr/v1/vnfs", self.vnfInst1, format='json')
response = self.client.put("/api/vnfmgr/v1/vnfs/1",
- json.dumps(self.vnfInst1_new), content_type='application/json')
+ json.dumps(self.vnfInst1_new), content_type='application/json')
self.assertEqual(status.HTTP_202_ACCEPTED, response.status_code, response.content)
vnfs = VnfRegModel.objects.filter()
self.assertEqual(1, len(vnfs))
@@ -143,7 +143,7 @@ class VnfRegTest(unittest.TestCase):
def test_set_vnf_when_not_exist(self):
response = self.client.put("/api/vnfmgr/v1/vnfs/1",
- json.dumps(self.vnfInst1_new), content_type='application/json')
+ json.dumps(self.vnfInst1_new), content_type='application/json')
self.assertEqual(status.HTTP_404_NOT_FOUND, response.status_code, response.content)
self.assertEqual({'error': "Vnf(1) does not exist."}, json.loads(response.content))
diff --git a/mgr/tox.ini b/mgr/tox.ini
index 7cd3add..7b38c30 100644
--- a/mgr/tox.ini
+++ b/mgr/tox.ini
@@ -6,7 +6,7 @@ skipsdist = true
downloadcache = ~/cache/pip
[flake8]
-ignore = E501,E128
+ignore = E501
[testenv]
deps = -r{toxinidir}/requirements.txt