/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/blackbox/test_export.py

  • Committer: Robert Collins
  • Date: 2010-05-11 08:44:59 UTC
  • mfrom: (5221 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100511084459-pb0uinna9zs3wu59
Merge trunk - resolve conflicts.

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')