~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/test_baz_import.py

  • Committer: Robert Collins
  • Date: 2005-09-13 14:21:09 UTC
  • mto: (147.2.6) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20050913142108-729a66c4a145f1b3
baz-import twice should work

Show diffs side-by-side

added added

removed removed

Lines of Context:
429
429
        self.failUnless(os.path.exists(os.path.join(self._tmpdir,'output', 'c1', '0.2','branch')))
430
430
        self.assertEqual(14, 
431
431
                        len(list(os.walk(os.path.join(self._tmpdir,'output')))))
 
432
 
 
433
    def test_run_twice(self):
 
434
        self.make_import('c--0')
 
435
        command = cmd_baz_import()
 
436
        command.run(os.path.join(self._tmpdir, 'output'), 'demo@DONOTUSE')
 
437
        command.run(os.path.join(self._tmpdir, 'output'), 'demo@DONOTUSE')