Skip to content

Commit 219c8f7

Browse files
committed
Cleanup test runner
1 parent 1b0afbd commit 219c8f7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

testapp/runners.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,16 @@ def build_suite(self, *args, **kwargs):
2727
if case.id() in EXCLUDED_TESTS:
2828
test_method = getattr(case, test_name)
2929
setattr(case, test_name, MarkexpectedFailure()(test_method))
30-
# setattr(case, test_name, expectedFailure2()(test_method))
3130
else:
3231
if case.id() in EXCLUDED_TESTS + REGEX_TESTS:
3332
test_method = getattr(case, test_name)
3433
setattr(case, test_name, MarkexpectedFailure()(test_method))
35-
# setattr(case, test_name, expectedFailure2()(test_method))
3634
tests.append(case)
3735
suite._tests = tests
3836
return suite
3937

4038
def run_suite(self, suite):
41-
kwargs = dict(
42-
verbosity=1, descriptions=False,
43-
failfast=self.failfast)
39+
kwargs = dict(verbosity=1, descriptions=False)
4440

4541
with open('./result.xml', 'wb') as xml:
4642
return xmlrunner.XMLTestRunner(

0 commit comments

Comments
 (0)