mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 22:03:04 +00:00
test_client.py: assert allmydata.__version__ is not unknown
This commit is contained in:
parent
65a8a8c405
commit
6a2e5d4aea
@ -120,7 +120,10 @@ class Basic(unittest.TestCase):
|
||||
open(os.path.join(basedir, "vdrive.furl"), "w").write("")
|
||||
c = client.Client(basedir)
|
||||
mine, oldest = c.remote_get_versions()
|
||||
self.failUnlessEqual(mine, allmydata.__version__)
|
||||
self.failUnlessEqual(mine, str(allmydata.__version__))
|
||||
self.failIfEqual(str(allmydata.__version__), "unknown")
|
||||
self.failUnless("." in str(allmydata.__version__),
|
||||
"non-numeric version in '%s'" % allmydata.__version__)
|
||||
|
||||
def flush_but_dont_ignore(res):
|
||||
d = flushEventualQueue()
|
||||
|
Loading…
x
Reference in New Issue
Block a user