~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testbzr

  • Committer: Martin Pool
  • Date: 2005-04-28 09:45:20 UTC
  • Revision ID: mbp@sourcefrog.net-20050428094520-06f75b189909e96b
testbzr: test adding a file

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
    assert out == '''?       test.txt\n'''
150
150
 
151
151
    out = backtick("bzr status --all").replace('\r', '')
152
 
    assert out == '''?       test.txt\n'''
 
152
    assert out == "?       test.txt\n"
 
153
 
 
154
    progress("adding a file")
 
155
 
 
156
    runcmd("bzr add test.txt")
 
157
    assert backtick("bzr unknowns") == ''
 
158
    assert backtick("bzr status --all").replace('\r', '') == "A       test.txt\n"
153
159
 
154
160
    cd('..')
155
161