From: Brian Warner Date: Thu, 3 Jan 2008 21:38:24 +0000 (-0700) Subject: test_client.py: validate more versioning code X-Git-Tag: allmydata-tahoe-0.7.0~40 X-Git-Url: https://git.rkrishnan.org/provisioning?a=commitdiff_plain;h=acfb11d26f66d68b1f67aeb83453ba8a0e084b82;p=tahoe-lafs%2Ftahoe-lafs.git test_client.py: validate more versioning code --- diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index 8bb04bfe..764d25bf 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -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()