/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/scenarios.py

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
"""
26
26
 
27
27
 
28
 
from . import (
 
28
from bzrlib.tests import (
29
29
    iter_suite_tests,
30
30
    multiply_scenarios,
31
31
    multiply_tests,
32
32
    )
33
33
 
34
34
 
35
 
def load_tests_apply_scenarios(loader, standard_tests, pattern):
 
35
def load_tests_apply_scenarios(standard_tests, module, loader):
36
36
    """Multiply tests depending on their 'scenarios' attribute.
37
37
 
38
38
    This can be assigned to 'load_tests' in any test module to make this
46
46
def multiply_tests_by_their_scenarios(some_tests, into_suite):
47
47
    """Multiply the tests in the given suite by their declared scenarios.
48
48
 
49
 
    Each test must have a 'scenarios' attribute which is a list of
 
49
    Each test must have a 'scenarios' attribute which is a list of 
50
50
    (name, params) pairs.
51
51
 
52
52
    :param some_tests: TestSuite or Test.