~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2006-06-20 05:32:16 UTC
  • mfrom: (1797 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620053216-817857d7ca3e9d1f
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
696
696
        out = capture("status")
697
697
        self.assertEquals(out, 'unknown:\n  test.txt\n')
698
698
 
699
 
        out = capture("status --all")
700
 
        self.assertEquals(out, "unknown:\n  test.txt\n")
701
 
 
702
 
        out = capture("status test.txt --all")
703
 
        self.assertEquals(out, "unknown:\n  test.txt\n")
704
 
 
705
699
        f = file('test2.txt', 'wt')
706
700
        f.write('goodbye cruel world...\n')
707
701
        f.close()
715
709
        os.unlink('test2.txt')
716
710
 
717
711
        progress("command aliases")
718
 
        out = capture("st --all")
 
712
        out = capture("st")
719
713
        self.assertEquals(out, ("unknown:\n" "  test.txt\n"))
720
714
 
721
715
        out = capture("stat")
737
731
 
738
732
        runbzr("add test.txt")
739
733
        self.assertEquals(capture("unknowns"), '')
740
 
        self.assertEquals(capture("status --all"), ("added:\n" "  test.txt\n"))
741
734
 
742
735
        progress("rename newly-added file")
743
736
        runbzr("rename test.txt hello.txt")