~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(garyvdm for gagern) Add --directory (-d) option to a number of
        commands.

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