aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-29 07:52:21 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-29 07:52:21 -0500
commit98f6c220071d6ef65bd254bc24935d0be76cf61a (patch)
treef0d4f418917e5fc1bc094cb4d6562c2bde7f4566 /test.py
parent12a948ddf009fb2510eda5be4f576dc3e7de401f (diff)
downloadbugseverywhere-98f6c220071d6ef65bd254bc24935d0be76cf61a.tar.gz
Add version information to test.py stderr for easier error reproduction
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.py b/test.py
index 5f00ac1..e6e5c2c 100644
--- a/test.py
+++ b/test.py
@@ -26,6 +26,7 @@ import libbe
libbe.TESTING = True
from libbe.util.tree import Tree
from libbe.util.plugin import import_by_name
+from libbe.version import version
def python_tree(root_path='libbe', root_modname='libbe'):
tree = Tree()
@@ -89,6 +90,7 @@ those modules and their submodules. For example::
parser.add_option('-q', '--quiet', action='store_true', default=False,
help='Run unittests in quiet mode (verbosity 1).')
options,args = parser.parse_args()
+ print >> sys.stderr, 'Testing BE\n%s' % version(verbose=True)
verbosity = 2
if options.quiet == True: