~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-13 05:47:58 UTC
  • Revision ID: mbp@sourcefrog.net-20050313054757-a86c3f5871069e22
fix up doctest for code rearrangement

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
These are run by ``bzr.doctest``.
29
29
 
30
30
>>> import bzr, bzrlib, os
31
 
>>> bzr.cmd_rocks()
 
31
>>> bzrlib.commands.cmd_rocks()
32
32
it sure does!
33
33
 
34
34
Hey, nice place to begin.
39
39
 
40
40
ScratchBranches are initially empty:
41
41
 
42
 
>>> b = bzr.ScratchBranch()
 
42
>>> b = bzrlib.ScratchBranch()
43
43
>>> b.show_status()
44
44
 
45
45
New files in that directory are, it is initially unknown: