projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1005482
)
tests: don't require tahoe to run with no noise if we are using an old twisted that...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Mon, 1 Feb 2010 05:23:23 +0000
(21:23 -0800)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Mon, 1 Feb 2010 05:23:23 +0000
(21:23 -0800)
src/allmydata/test/test_runner.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_runner.py
b/src/allmydata/test/test_runner.py
index 011f3fa2081607d91ddf4cf6d49d2711ceb105c9..c88657d425387f4ab686aae7b656b1ab68d2c00d 100644
(file)
--- a/
src/allmydata/test/test_runner.py
+++ b/
src/allmydata/test/test_runner.py
@@
-357,6
+357,11
@@
class RunNode(common_util.SignalMixin, unittest.TestCase, pollmixin.PollMixin,
def test_client_no_noise(self):
self.skip_if_cannot_daemonize()
+ import pkg_resources
+ try:
+ pkg_resources.require("Twisted>=9.0.0")
+ except pkg_resources.VersionConflict:
+ raise unittest.SkipTest("We pass this test only with Twisted >= v9.0.0")
basedir = self.workdir("test_client_no_noise")
c1 = os.path.join(basedir, "c1")
HOTLINE_FILE = os.path.join(c1, "suicide_prevention_hotline")