~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-05-28 00:25:32 UTC
  • mfrom: (5264.1.2 command-help-bug-177500)
  • Revision ID: pqm@pqm.ubuntu.com-20100528002532-9bzj1fajyxckd1rg
(lifeless) Stop raising at runtime when a command has no help,
 instead have a test in the test suite that checks all known command objects.
 (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
    def _update_file(self, path, text, checkin=True):
40
40
        """append text to file 'path' and check it in"""
41
 
        with open(path, 'a') as f:
42
 
            f.write(text)
43
 
 
 
41
        open(path, 'a').write(text)
44
42
        if checkin:
45
43
            self.run_bzr(['ci', path, '-m', '"' + path + '"'])
46
44