/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: Jelmer Vernooij
  • Date: 2011-03-13 21:30:33 UTC
  • mto: This revision was merged to the branch mainline in revision 5724.
  • Revision ID: jelmer@samba.org-20110313213033-ud9t11mm8e3idtti
Add test for per-file-timestamp zipfiles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
        tree.commit('setup', timestamp=315532800)
357
357
        self.run_bzr('export --per-file-timestamps test.zip branch')
358
358
        zfile = zipfile.ZipFile('test.zip')
359
 
        # Make sure the zipfile contains 'a', but does not contain
360
 
        # '.bzrignore'.
361
359
        info = zfile.getinfo("test/har")
362
360
        self.assertEquals((1980, 1, 1, 1, 0, 0), info.date_time)