diff options
Diffstat (limited to 'result_collection_api/opnfv_testapi/tests')
-rw-r--r-- | result_collection_api/opnfv_testapi/tests/unit/test_result.py | 9 | ||||
-rw-r--r-- | result_collection_api/opnfv_testapi/tests/unit/test_version.py | 6 |
2 files changed, 3 insertions, 12 deletions
diff --git a/result_collection_api/opnfv_testapi/tests/unit/test_result.py b/result_collection_api/opnfv_testapi/tests/unit/test_result.py index 7863fe7..fc1e9ba 100644 --- a/result_collection_api/opnfv_testapi/tests/unit/test_result.py +++ b/result_collection_api/opnfv_testapi/tests/unit/test_result.py @@ -162,15 +162,6 @@ class TestResultCreate(TestResultBase): self.assertEqual(code, HTTP_OK) self.assert_href(body) - def test_createSameResults(self): - req_again = copy.deepcopy(self.req_d) - req_again.start_date = "2016-05-23 08:16:09.477097" - req_again.stop_date = "2016-05-23 08:16:19.477097" - - (code, body) = self.create(req_again) - self.assertEqual(code, HTTP_OK) - self.assert_href(body) - class TestResultGet(TestResultBase): def test_getOne(self): diff --git a/result_collection_api/opnfv_testapi/tests/unit/test_version.py b/result_collection_api/opnfv_testapi/tests/unit/test_version.py index 907812b..b6fbf45 100644 --- a/result_collection_api/opnfv_testapi/tests/unit/test_version.py +++ b/result_collection_api/opnfv_testapi/tests/unit/test_version.py @@ -12,14 +12,14 @@ from test_base import TestBase from opnfv_testapi.resources.models import Versions -class TestVersionbBase(TestBase): +class TestVersionBase(TestBase): def setUp(self): - super(TestVersionbBase, self).setUp() + super(TestVersionBase, self).setUp() self.list_res = Versions self.basePath = '/versions' -class TestVersion(TestVersionbBase): +class TestVersion(TestVersionBase): def test_success(self): code, body = self.get() self.assertEqual(200, code) |