~jayvdb/testscenarios/0.4

« back to all changes in this revision

Viewing changes to lib/testscenarios/__init__.py

  • Committer: Robert Collins
  • Date: 2012-04-04 10:45:22 UTC
  • mfrom: (18.2.1 testcase-mixin)
  • Revision ID: robertc@robertcollins.net-20120404104522-7fho5wxapc2uqmw5
* ``TestWithScenarios`` is now backed by a mixin - WithScenarios - which can be
  mixed into different unittest implementations more cleanly (e.g. unittest2).
  (James Polley, Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
__all__ = [
44
44
    'TestWithScenarios',
 
45
    'WithScenarios',
45
46
    'apply_scenario',
46
47
    'apply_scenarios',
47
48
    'generate_scenarios',
48
49
    'load_tests_apply_scenarios',
49
50
    'multiply_scenarios',
 
51
    'per_module_scenarios',
50
52
    ]
51
53
 
52
54
 
57
59
    generate_scenarios,
58
60
    load_tests_apply_scenarios,
59
61
    multiply_scenarios,
 
62
    per_module_scenarios,
60
63
    )
61
 
from testscenarios.testcase import TestWithScenarios
 
64
from testscenarios.testcase import TestWithScenarios, WithScenarios
62
65
 
63
66
 
64
67
def test_suite():