summaryrefslogtreecommitdiffstats
path: root/dovetail/tests/unit/test_report.py
diff options
context:
space:
mode:
Diffstat (limited to 'dovetail/tests/unit/test_report.py')
-rw-r--r--dovetail/tests/unit/test_report.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/dovetail/tests/unit/test_report.py b/dovetail/tests/unit/test_report.py
index 9d3acbf..4e1214e 100644
--- a/dovetail/tests/unit/test_report.py
+++ b/dovetail/tests/unit/test_report.py
@@ -1204,6 +1204,13 @@ class ReportTesting(unittest.TestCase):
dt_report.FunctestChecker.get_sub_testcase('subt_a',
['subt_b', 'subt_a+']))
+ def test_functest_get_sub_testcase_class_match(self):
+ self.assertEquals(
+ True,
+ dt_report.FunctestChecker.get_sub_testcase('subclass_a',
+ ['subclass_a.subt_a',
+ 'subclass_b.subt_b']))
+
def test_functest_get_sub_no_match(self):
self.assertEquals(
False,