~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/shelf_tests.py

  • Committer: Aaron Bentley
  • Date: 2007-05-18 09:20:28 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20070518092028-6oii053t2hkevi9k
Report new bug

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        finally:
46
46
            self.tree.unlock()
47
47
            old_tree.unlock()
48
 
        keys = { 'filename' : filename , 'old_date': old_date,
 
48
        keys = { 'filename' : filename , 'old_date': old_date, 
49
49
                 'new_date': new_date}
50
50
        hdr  = self.DIFF_HEADER % keys
51
51
        diff = diff % keys
613
613
        f = file('test_file', 'wb')
614
614
        f.write(self.MODIFIED)
615
615
        f.close()
616
 
        stdout, error = self.run_bzr_captured(['shelve', '--all',
 
616
        stdout, error = self.run_bzr_captured(['shelve', '--all', 
617
617
                                               '--no-color'])
618
 
        stdout, error = self.run_bzr_captured(['unshelve', '--all',
 
618
        stdout, error = self.run_bzr_captured(['unshelve', '--all', 
619
619
                                               '--no-color'])
620
620
 
621
621
    def test_shelf_help(self):