mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 09:46:18 +00:00
tests: don't require tahoe to run with no noise if we are using an old twisted that emits DeprecationWarnings
This commit is contained in:
parent
100548257a
commit
e4e2599017
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user