From acfb11d26f66d68b1f67aeb83453ba8a0e084b82 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 3 Jan 2008 14:38:24 -0700 Subject: [PATCH] test_client.py: validate more versioning code --- src/allmydata/test/test_client.py | 4 ++++ 1 file changed, 4 insertions(+) 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() -- 2.45.2