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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-14 05:49:27 UTC
  • mfrom: (4476.3.86 inventory-delta)
  • Revision ID: pqm@pqm.ubuntu.com-20090814054927-k0k18dn46ax4b91f
(andrew) Add inventory-delta streaming for cross-format fetch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        self.assertEqual(sample_permutation,
125
125
                         get_transport_test_permutations(MockModule()))
126
126
 
127
 
    def test_scenarios_invlude_all_modules(self):
 
127
    def test_scenarios_include_all_modules(self):
128
128
        # this checks that the scenario generator returns as many permutations
129
129
        # as there are in all the registered transport modules - we assume if
130
130
        # this matches its probably doing the right thing especially in
293
293
        from bzrlib.tests.per_interrepository import make_scenarios
294
294
        server1 = "a"
295
295
        server2 = "b"
296
 
        formats = [(str, "C1", "C2"), (int, "D1", "D2")]
 
296
        formats = [("C0", "C1", "C2"), ("D0", "D1", "D2")]
297
297
        scenarios = make_scenarios(server1, server2, formats)
298
298
        self.assertEqual([
299
 
            ('str,str,str',
300
 
             {'interrepo_class': str,
301
 
              'repository_format': 'C1',
 
299
            ('C0,str,str',
 
300
             {'repository_format': 'C1',
302
301
              'repository_format_to': 'C2',
303
302
              'transport_readonly_server': 'b',
304
303
              'transport_server': 'a'}),
305
 
            ('int,str,str',
306
 
             {'interrepo_class': int,
307
 
              'repository_format': 'D1',
 
304
            ('D0,str,str',
 
305
             {'repository_format': 'D1',
308
306
              'repository_format_to': 'D2',
309
307
              'transport_readonly_server': 'b',
310
308
              'transport_server': 'a'})],