~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_export.py

  • Committer: Martin
  • Date: 2010-05-16 15:18:43 UTC
  • mfrom: (5235 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5239.
  • Revision ID: gzlist@googlemail.com-20100516151843-lu53u7caehm3ie3i
Merge bzr.dev to resolve conflicts in NEWS and _chk_map_pyx

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
        har_st = os.stat('t/har')
314
314
        self.assertEquals(315532800, har_st.st_mtime)
315
315
 
 
316
    def test_export_directory(self):
 
317
        """Test --directory option"""
 
318
        self.example_branch()
 
319
        self.run_bzr(['export', '--directory=branch', 'latest'])
 
320
        self.assertEqual(['goodbye', 'hello'], sorted(os.listdir('latest')))
 
321
        self.check_file_contents('latest/goodbye', 'baz')