test suite: saver check if bzr is installed
authorSimon Heimberg <simohe@besonet.ch>
Sun, 08 Feb 2009 13:46:04 +0100
changeset 7773 607de5bd3578
parent 7772 88887054d277
child 7774 3b8f2750efcf
test suite: saver check if bzr is installed Test if bzrlib.__doc__ is not empty. Ignores an empty lib.
tests/hghave
--- a/tests/hghave	Tue Feb 10 13:26:00 2009 -0600
+++ b/tests/hghave	Sun Feb 08 13:46:04 2009 +0100
@@ -27,7 +27,7 @@
 def has_bzr():
     try:
         import bzrlib
-        return True
+        return bzrlib.__doc__ != None
     except ImportError:
         return False