aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
Diffstat (limited to 'becommands')
-rw-r--r--becommands/merge.py40
-rw-r--r--becommands/show.py8
2 files changed, 24 insertions, 24 deletions
diff --git a/becommands/merge.py b/becommands/merge.py
index 927bb63..8232282 100644
--- a/becommands/merge.py
+++ b/becommands/merge.py
@@ -45,7 +45,7 @@ def execute(args, test=False):
>>> a.load_comments()
>>> mergeA = a.comment_from_shortname(":3")
>>> mergeA.time = 3
- >>> print a.string(show_comments=True)
+ >>> print a.string(show_comments=True) # doctest: +ELLIPSIS
ID : a
Short name : a
Severity : minor
@@ -54,43 +54,43 @@ def execute(args, test=False):
Target :
Reporter :
Creator : John Doe <jdoe@example.com>
- Created : Wed, 31 Dec 1969 19:00 (Thu, 01 Jan 1970 00:00:00 +0000)
+ Created : ...
Bug A
--------- Comment ---------
Name: a:1
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:01 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
Testing
--------- Comment ---------
Name: a:2
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:02 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
Testing...
--------- Comment ---------
Name: a:3
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:03 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
Merged from bug b
--------- Comment ---------
Name: a:4
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:01 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
1 2
--------- Comment ---------
Name: a:5
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:02 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
1 2 3 4
>>> b = bd.bug_from_shortname("b")
>>> b.load_comments()
>>> mergeB = b.comment_from_shortname(":3")
>>> mergeB.time = 3
- >>> print b.string(show_comments=True)
+ >>> print b.string(show_comments=True) # doctest: +ELLIPSIS
ID : b
Short name : b
Severity : minor
@@ -99,24 +99,24 @@ def execute(args, test=False):
Target :
Reporter :
Creator : Jane Doe <jdoe@example.com>
- Created : Wed, 31 Dec 1969 19:00 (Thu, 01 Jan 1970 00:00:00 +0000)
+ Created : ...
Bug B
--------- Comment ---------
Name: b:1
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:01 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
1 2
--------- Comment ---------
Name: b:2
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:02 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
1 2 3 4
--------- Comment ---------
Name: b:3
- From: wking <wking@thor.yang.physics.drexel.edu>
- Date: Thu, 01 Jan 1970 00:00:03 +0000
+ From: ...
+ Date: ...
<BLANKLINE>
Merged into bug a
>>> print b.status
diff --git a/becommands/show.py b/becommands/show.py
index 7c48257..4b0078f 100644
--- a/becommands/show.py
+++ b/becommands/show.py
@@ -23,7 +23,7 @@ def execute(args, test=False):
>>> import os
>>> bd = bugdir.simple_bug_dir()
>>> os.chdir(bd.root)
- >>> execute (["a",], test=True)
+ >>> execute (["a",], test=True) # doctest: +ELLIPSIS
ID : a
Short name : a
Severity : minor
@@ -32,10 +32,10 @@ def execute(args, test=False):
Target :
Reporter :
Creator : John Doe <jdoe@example.com>
- Created : Wed, 31 Dec 1969 19:00 (Thu, 01 Jan 1970 00:00:00 +0000)
+ Created : ...
Bug A
<BLANKLINE>
- >>> execute (["--xml", "a"], test=True)
+ >>> execute (["--xml", "a"], test=True) # doctest: +ELLIPSIS
<bug>
<uuid>a</uuid>
<short-name>a</short-name>
@@ -45,7 +45,7 @@ def execute(args, test=False):
<target><class 'libbe.settings_object.EMPTY'></target>
<reporter><class 'libbe.settings_object.EMPTY'></reporter>
<creator>John Doe <jdoe@example.com></creator>
- <created>Wed, 31 Dec 1969 19:00 (Thu, 01 Jan 1970 00:00:00 +0000)</created>
+ <created>...</created>
<summary>Bug A</summary>
</bug>
"""