Capture logs with FakeLogging Fixture
Capture logs to attach them on exceptions to simplify the debugging of errors in tests when they occur. Change-Id: I5c1b5c306aba37789a8d41eabf65e0ac628af838
This commit is contained in:
committed by
Darragh Bailey
parent
709f233bca
commit
9bfbffa559
@@ -22,7 +22,7 @@ from jenkins_jobs.modules import triggers
|
||||
from tests.base import get_scenarios, BaseTestCase
|
||||
|
||||
|
||||
class TestCaseModuleTriggers(TestWithScenarios, TestCase, BaseTestCase):
|
||||
class TestCaseModuleTriggers(TestWithScenarios, BaseTestCase, TestCase):
|
||||
fixtures_path = os.path.join(os.path.dirname(__file__), 'fixtures')
|
||||
scenarios = get_scenarios(fixtures_path)
|
||||
klass = triggers.Triggers
|
||||
|
||||
Reference in New Issue
Block a user