~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2011-09-26 07:56:05 UTC
  • mfrom: (6165 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6170.
  • Revision ID: john@arbash-meinel.com-20110926075605-czuukdiawz68dpbd
Merge bzr.dev 6165, resolve conflicts.

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)