]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_client.py: validate more versioning code
authorBrian Warner <warner@allmydata.com>
Thu, 3 Jan 2008 21:38:24 +0000 (14:38 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 3 Jan 2008 21:38:24 +0000 (14:38 -0700)
src/allmydata/test/test_client.py

index 8bb04bfef49577374a96473eba4a9fc6a26d20fe..764d25bf2db7eaa653971e5ed5aa393786a52481 100644 (file)
@@ -3,6 +3,7 @@ import os
 from twisted.trial import unittest
 from twisted.application import service
 from twisted.internet import reactor, defer
+from twisted.python import log
 
 import allmydata
 from allmydata import client, introducer
@@ -124,6 +125,9 @@ class Basic(unittest.TestCase):
         self.failIfEqual(str(allmydata.__version__), "unknown")
         self.failUnless("." in str(allmydata.__version__),
                         "non-numeric version in '%s'" % allmydata.__version__)
+        all_versions = allmydata.get_package_versions_string()
+        self.failUnless("allmydata" in all_versions)
+        log.msg("tahoe versions: %s" % all_versions)
 
 def flush_but_dont_ignore(res):
     d = flushEventualQueue()