summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-10-05 15:49:37 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-11-10 10:49:09 -0800
commitccb430defa1b38fa850db5f5dff739440248b5c4 (patch)
treecc924f21f5dd63f9c1da130f168605aa24683614 /unittests
parentd3c980aa9878ee03abe955c2615523aa3d3e04f6 (diff)
framework: Split the run method out of profile.
There are a couple of reasons for doing this. First, profile is a big complex mess that does entirely too much, and this helps with that. Second, there are bugs in the way two profiles run at the same time work, and this is going to fix that. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'unittests')
-rw-r--r--unittests/framework/test_profile.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/unittests/framework/test_profile.py b/unittests/framework/test_profile.py
index 4ff9ea579..66713497b 100644
--- a/unittests/framework/test_profile.py
+++ b/unittests/framework/test_profile.py
@@ -152,7 +152,7 @@ class TestTestProfile(object):
"""
profile_ = profile.TestProfile()
profile_.test_list = self.data
- profile_._prepare_test_list()
+ profile_.prepare_test_list()
assert dict(profile_.test_list) == dict(self.data)
@@ -164,7 +164,7 @@ class TestTestProfile(object):
profile_ = profile.TestProfile()
profile_.test_list = self.data
- profile_._prepare_test_list()
+ profile_.prepare_test_list()
baseline = {
grouptools.join('group3', 'test5'): utils.Test(['other'])}
@@ -184,7 +184,7 @@ class TestTestProfile(object):
profile_ = profile.TestProfile()
profile_.test_list = self.data
- profile_._prepare_test_list()
+ profile_.prepare_test_list()
assert dict(profile_.test_list) == dict(baseline)
@@ -199,7 +199,7 @@ class TestTestProfile(object):
profile_ = profile.TestProfile()
profile_.test_list = self.data
- profile_._prepare_test_list()
+ profile_.prepare_test_list()
assert dict(profile_.test_list) == dict(baseline)
@@ -211,7 +211,7 @@ class TestTestProfile(object):
profile_ = profile.TestProfile()
profile_.test_list = self.data
- profile_._prepare_test_list()
+ profile_.prepare_test_list()
assert grouptools.join('group4', 'Test9') not in profile_.test_list