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

  • Committer: Aaron Bentley
  • Date: 2008-04-24 04:58:42 UTC
  • mfrom: (3377 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3380.
  • Revision ID: aaron@aaronbentley.com-20080424045842-0cajl9v6s4u52kaw
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
454
454
        branch.bzrdir.open_workingtree()
455
455
 
456
456
 
 
457
class TestRepositoryAcquisitionPolicy(TestCaseWithTransport):
 
458
 
 
459
    def test_acquire_repository_standalone(self):
 
460
        """The default acquisition policy should create a standalone branch."""
 
461
        my_bzrdir = self.make_bzrdir('.')
 
462
        repo_policy = my_bzrdir.determine_repository_policy()
 
463
        repo = repo_policy.acquire_repository()
 
464
        self.assertEqual(repo.bzrdir.root_transport.base,
 
465
                         my_bzrdir.root_transport.base)
 
466
        self.assertFalse(repo.is_shared())
 
467
 
 
468
 
457
469
class ChrootedTests(TestCaseWithTransport):
458
470
    """A support class that provides readonly urls outside the local namespace.
459
471