~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testbzr

  • Committer: Martin Pool
  • Date: 2005-05-09 03:11:21 UTC
  • Revision ID: mbp@sourcefrog.net-20050509031121-9378b17cb31eaa7f
- bzr status now optionally takes filenames to check

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
    out = backtick("bzr status --all")
181
181
    assert out == "?       test.txt\n"
182
182
 
 
183
    out = backtick("bzr status test.txt --all")
 
184
    assert out == "?       test.txt\n"
 
185
 
 
186
    f = file('test2.txt', 'wt')
 
187
    f.write('goodbye cruel world...\n')
 
188
    f.close()
 
189
 
 
190
    out = backtick("bzr status test.txt")
 
191
    assert out == "?       test.txt\n"
 
192
 
 
193
    out = backtick("bzr status")
 
194
    assert out == "?       test.txt\n" \
 
195
                + "?       test2.txt\n"
 
196
 
 
197
    os.unlink('test2.txt')
 
198
 
183
199
    progress("command aliases")
184
200
    out = backtick("bzr st --all")
185
201
    assert out == "?       test.txt\n"