summaryrefslogtreecommitdiffstats
path: root/tests/duplicates
diff options
context:
space:
mode:
authorDarragh Bailey <daragh.bailey@gmail.com>2015-09-22 01:20:37 +0100
committerDarragh Bailey <dbailey@hpe.com>2015-09-30 16:25:22 +0100
commit9bfbffa5592199c567296fe0f11012cea768bdd5 (patch)
treebb117ae1b4f3d2aea40341fcee396dd5555b5fe5 /tests/duplicates
parent709f233bcad23b9d8d10fb3e141052f6e4980073 (diff)
downloadpython-jenkins-job-builder-9bfbffa5592199c567296fe0f11012cea768bdd5.tar.gz
python-jenkins-job-builder-9bfbffa5592199c567296fe0f11012cea768bdd5.tar.xz
python-jenkins-job-builder-9bfbffa5592199c567296fe0f11012cea768bdd5.zip
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
Diffstat (limited to 'tests/duplicates')
-rw-r--r--tests/duplicates/test_duplicates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/duplicates/test_duplicates.py b/tests/duplicates/test_duplicates.py
index e7e05e97..74edc6c4 100644
--- a/tests/duplicates/test_duplicates.py
+++ b/tests/duplicates/test_duplicates.py
@@ -24,8 +24,8 @@ from tests.base import get_scenarios
from tests.base import mock
-class TestCaseModuleDuplicates(TestWithScenarios, TestCase,
- SingleJobTestCase):
+class TestCaseModuleDuplicates(TestWithScenarios,
+ SingleJobTestCase, TestCase):
fixtures_path = os.path.join(os.path.dirname(__file__), 'fixtures')
scenarios = get_scenarios(fixtures_path)