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

Get first deployment

Show diffs side-by-side

added added

removed removed

Lines of Context:
1670
1670
            'password ignored in section \[ssh with password\]')
1671
1671
 
1672
1672
    def test_uses_fallback_stores(self):
1673
 
        self._old_cs_registry = config.credential_store_registry
1674
 
        def restore():
1675
 
            config.credential_store_registry = self._old_cs_registry
1676
 
        self.addCleanup(restore)
 
1673
        self.addAttrCleanup(config, 'credential_store_registry')
1677
1674
        config.credential_store_registry = config.CredentialStoreRegistry()
1678
1675
        store = StubCredentialStore()
1679
1676
        store.add_credentials("http", "example.com", "joe", "secret")