Commit 1df80d64 authored by Sam Thursfield's avatar Sam Thursfield

functional-tests/ Remove 'No test' message

This occured in the TestCase module, the "No test" is a placeholder
docstring which serves no purpose. By moving init later, we can pass
the name of the real test function, and there's no output.
parent d43e4a3e
Pipeline #220047 failed with stages
in 2 minutes and 30 seconds
......@@ -42,8 +42,6 @@ class GenericExtractionTestCase(fixtures.TrackerExtractTestCase):
Descfile is the description file in a relative path
super(GenericExtractionTestCase, self).__init__(methodName)
self.descfile = descfile
with open(descfile) as f:
......@@ -61,9 +59,7 @@ class GenericExtractionTestCase(fixtures.TrackerExtractTestCase):
setattr(self, methodName, self.generic_test_extraction)
# unittest framework will run the test called "self._testMethodName"
# So we set that variable to our new name
self._testMethodName = methodName
super(GenericExtractionTestCase, self).__init__(methodName)
def __get_bugnumber(self):
return self.spec['test'].get('Bugzilla')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment