/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/test_conflicts.py

  • Committer: Vincent Ladeuil
  • Date: 2010-04-06 10:12:42 UTC
  • mto: This revision was merged to the branch mainline in revision 5135.
  • Revision ID: v.ladeuil+lp@free.fr-20100406101242-rcg0zelo6y2ca808
Some more cleanup and typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
    and 'other'
223
223
    """
224
224
    scenarios = []
225
 
    common = [c for c, l, r in base_scenarios]
226
 
    left = [l for c, l, r in base_scenarios]
227
 
    right = [r for c, l, r in base_scenarios]
228
 
    for common, (lname, ldict), (rname, rdict) in zip(common, left, right):
 
225
    for common, (lname, ldict), (rname, rdict) in base_scenarios:
229
226
        a = tests.multiply_scenarios([(lname, dict(_this=ldict))],
230
227
                                     [(rname, dict(_other=rdict))])
231
228
        b = tests.multiply_scenarios([(rname, dict(_this=rdict))],
316
313
 
317
314
        This is a class method so that load_tests can find it.
318
315
 
319
 
        '_base_actions' in the commont dict, 'actions' and 'check' in the left
 
316
        '_base_actions' in the common dict, 'actions' and 'check' in the left
320
317
        and right dicts use names that map to methods in the test classes. Some
321
318
        prefixes are added to these names to get the correspong methods (see
322
319
        _get_actions() and _get_check()). The motivation here is to avoid