~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Robert Collins
  • Date: 2009-04-27 03:34:12 UTC
  • mto: This revision was merged to the branch mainline in revision 4304.
  • Revision ID: robertc@robertcollins.net-20090427033412-3jnnui7ntwib09wa
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
class TestSmartServerRequestBzrDirInitializeEx(tests.TestCaseWithMemoryTransport):
354
354
    """Basic tests for BzrDir.initialize_ex in the smart server.
355
355
 
356
 
    The main unit tests in test_bzrdir exercise the API coprehensively.
 
356
    The main unit tests in test_bzrdir exercise the API comprehensively.
357
357
    """
358
358
 
359
359
    def test_empty_dir(self):
367
367
            'False'))
368
368
        made_dir = bzrdir.BzrDir.open_from_transport(backing)
369
369
        # no branch, tree or repository is expected with the current
370
 
        # default formart.
 
370
        # default format.
371
371
        self.assertRaises(errors.NoWorkingTree, made_dir.open_workingtree)
372
372
        self.assertRaises(errors.NotBranchError, made_dir.open_branch)
373
373
        self.assertRaises(errors.NoRepositoryPresent, made_dir.open_repository)