~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_branch.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-22 13:22:18 UTC
  • mfrom: (6155.2.2 migrate-config-options)
  • Revision ID: pqm@pqm.ubuntu.com-20110922132218-nitl31j5slbcmnm2
(vila) Migrate dpush_strict,
 push_strict and send_strict options to the stack based config design,
 introducing get_config_stack for branches (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
537
537
            looked_up_format = registry.get(network_name)
538
538
            self.assertEqual(format.__class__, looked_up_format.__class__)
539
539
 
 
540
    def get_get_config_calls(self):
 
541
        # Smoke test that all branch succeed getting a config
 
542
        br = self.make_branch('.')
 
543
        br.get_config()
 
544
        br.get_config_stack()
 
545
 
540
546
 
541
547
class ChrootedTests(per_branch.TestCaseWithBranch):
542
548
    """A support class that provides readonly urls outside the local namespace.
1070
1076
 
1071
1077
class TestBranchControlComponent(per_branch.TestCaseWithBranch):
1072
1078
    """Branch implementations adequately implement ControlComponent."""
1073
 
    
 
1079
 
1074
1080
    def test_urls(self):
1075
1081
        br = self.make_branch('branch')
1076
1082
        self.assertIsInstance(br.user_url, str)