From c05e2986e658d9892c9d65203a1e2a785c68bf27 Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Thu, 4 Oct 2018 12:42:16 +0300 Subject: Revive unit tests and flake8 of webportal JIRA: DOVETAIL-742 This patch revives unit test and flake8 tests of webportal. In addition, it fixes errors and enables handling of some uris which were forgotten. Change-Id: I8225c7ca08a3c97b6e77f00490defc91046a2dd6 Signed-off-by: Stamatis Katsaounis --- opnfv_testapi/tests/unit/resources/test_result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opnfv_testapi/tests/unit/resources') diff --git a/opnfv_testapi/tests/unit/resources/test_result.py b/opnfv_testapi/tests/unit/resources/test_result.py index 1e83ed3..3f87f11 100644 --- a/opnfv_testapi/tests/unit/resources/test_result.py +++ b/opnfv_testapi/tests/unit/resources/test_result.py @@ -144,7 +144,7 @@ class TestResultBase(base.TestBase): class TestResultUpload(TestResultBase): - @executor.upload(httplib.BAD_REQUEST, message.key_error('file')) + @executor.upload(httplib.BAD_REQUEST, message.no_file_uploaded()) def test_filenotfind(self): return None -- cgit 1.2.3-korg