/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 breezy/tests/test_scenarios.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 19:47:19 UTC
  • mfrom: (7178 work)
  • mto: This revision was merged to the branch mainline in revision 7179.
  • Revision ID: jelmer@jelmer.uk-20181116194719-m5ut2wfuze5x9s1p
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
            vary_named_attribute('two'),
76
76
            )
77
77
        self.assertEqual(
78
 
            2*2,
 
78
            2 * 2,
79
79
            len(s),
80
80
            s)
81
81
 
94
94
        """Tests with no scenarios attribute aren't multiplied"""
95
95
        suite = TestLoader().suiteClass()
96
96
        multiply_tests_by_their_scenarios(self,
97
 
            suite)
 
97
                                          suite)
98
98
        self.assertLength(1, list(iter_suite_tests(suite)))
99
99
 
100
100
 
101
101
class PretendVaryingTest(TestCase):
102
 
    
 
102
 
103
103
    scenarios = multiply_scenarios(
104
 
        vary_named_attribute('value'), 
 
104
        vary_named_attribute('value'),
105
105
        vary_named_attribute('other'),
106
106
        )
107
107