diff options
author | xudan <xudan16@huawei.com> | 2019-08-27 23:26:24 -0400 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2019-09-02 01:57:51 +0000 |
commit | 6d33ad294d6bc56226c86604cded0b70a6952661 (patch) | |
tree | 15c747ed941712d1476de404c49e463b5aa6365e /dovetail/tests/unit/test_testcase.py | |
parent | d15825b04fde0b40df1840ae2ec2fab2ac961471 (diff) |
Add portal_key_file into all test case yml files
Change-Id: If111a8cc56c31ec3e22b090aca92ff56d41f7e01
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/tests/unit/test_testcase.py')
-rw-r--r-- | dovetail/tests/unit/test_testcase.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dovetail/tests/unit/test_testcase.py b/dovetail/tests/unit/test_testcase.py index 06a23025..5f4f15d9 100644 --- a/dovetail/tests/unit/test_testcase.py +++ b/dovetail/tests/unit/test_testcase.py @@ -161,6 +161,13 @@ class TestcaseTesting(unittest.TestCase): self.assertEquals('tempest_smoke_serial', result) + def test_portal_key_file(self): + testcase = tcase.Testcase(self.testcase_yaml) + + result = testcase.portal_key_file() + + self.assertEquals('tempest_logs/tempest_smoke_serial.html', result) + def test_vnf_type(self): testcase = tcase.OnapVtpTestcase(self.testcase_yaml) |