~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

  • Committer: Patch Queue Manager
  • Date: 2012-08-23 14:24:38 UTC
  • mfrom: (6499.3.13 832042-shared-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20120823142438-804xd3yql622ahhp
(vila) Share and cache local config files (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4347
4347
        self.assertSectionNames(['ALIASES'], self.bazaar_config, 'ALIASES')
4348
4348
 
4349
4349
 
 
4350
class TestSharedStores(tests.TestCaseInTempDir):
 
4351
 
 
4352
    def test_bazaar_conf_shared(self):
 
4353
        g1 = config.GlobalStack()
 
4354
        g2 = config.GlobalStack()
 
4355
        # The two stacks share the same store
 
4356
        self.assertIs(g1.store, g2.store)
 
4357
 
 
4358
 
4350
4359
class TestAuthenticationConfigFile(tests.TestCase):
4351
4360
    """Test the authentication.conf file matching"""
4352
4361