From a8dfb7b0b99dba554d7bc08aadc63cbc6a626dd7 Mon Sep 17 00:00:00 2001 From: Edwin Zhai Date: Tue, 23 Feb 2016 03:32:25 +0000 Subject: [PATCH] Fix tempest test path Tempest with aodh plugins fails at test loading due to wrong path Closes-Bug: #1548599 Change-Id: I277746b2c7807b114547459de2182fd1c5fd331a --- aodh/tests/tempest/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aodh/tests/tempest/plugin.py b/aodh/tests/tempest/plugin.py index e4708faa1..c9eae23c7 100644 --- a/aodh/tests/tempest/plugin.py +++ b/aodh/tests/tempest/plugin.py @@ -27,7 +27,7 @@ class AodhTempestPlugin(plugins.TempestPlugin): def load_tests(self): base_path = os.path.split(os.path.dirname( os.path.abspath(aodh.__file__)))[0] - test_dir = "tempest" + test_dir = "aodh/tests/tempest" full_test_dir = os.path.join(base_path, test_dir) return full_test_dir, base_path