Generate scenarios inside subunit.tests.test_suite, not by subclassing WithScenarios.
[third_party/subunit] / python / subunit / tests / test_output_filter.py
index f03a7b7eb8c94c24d8e4954393d136e609ea78ce..3373d4847b741b857262bd206b346e8564238715 100644 (file)
@@ -22,7 +22,6 @@ import sys
 from tempfile import NamedTemporaryFile
 
 from contextlib import contextmanager
-from testscenarios import WithScenarios
 from testtools import TestCase
 from testtools.compat import _u
 from testtools.matchers import (
@@ -58,7 +57,7 @@ class SafeOptionParser(optparse.OptionParser):
 safe_parse_arguments = partial(parse_arguments, ParserClass=SafeOptionParser)
 
 
-class TestStatusArgParserTests(WithScenarios, TestCase):
+class TestStatusArgParserTests(TestCase):
 
     scenarios = [
         (cmd, dict(command=cmd, option='--' + cmd)) for cmd in _ALL_ACTIONS
@@ -204,7 +203,7 @@ def temp_file_contents(data):
         yield f
 
 
-class StatusStreamResultTests(WithScenarios, TestCase):
+class StatusStreamResultTests(TestCase):
 
     scenarios = [
         (s, dict(status=s, option='--' + s)) for s in _ALL_ACTIONS