~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-11 23:19:53 UTC
  • Revision ID: mbp@sourcefrog.net-20050311231953-73aeb3a131c3699a
format_date: handle revisions with no timezone offset

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
 
>>> bzrlib.commands.cmd_rocks()
 
31
>>> bzr.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 = bzrlib.ScratchBranch()
 
42
>>> b = bzr.ScratchBranch()
43
43
>>> b.show_status()
44
44
 
45
45
New files in that directory are, it is initially unknown: