From 6d33ad294d6bc56226c86604cded0b70a6952661 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 27 Aug 2019 23:26:24 -0400 Subject: Add portal_key_file into all test case yml files Change-Id: If111a8cc56c31ec3e22b090aca92ff56d41f7e01 Signed-off-by: xudan --- dovetail/tests/unit/test_testcase.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dovetail/tests/unit/test_testcase.py') 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) -- cgit 1.2.3-korg