def test_version_no_noise(self):
self.skip_if_cannot_run_bintahoe()
- from allmydata import get_package_versions, normalized_version
- twisted_ver = get_package_versions()['Twisted']
-
- if not normalized_version(twisted_ver) >= normalized_version('9.0.0'):
- raise unittest.SkipTest("We pass this test only with Twisted >= v9.0.0")
-
d = self.run_bintahoe(["--version"])
def _cb(res):
out, err, rc_or_sig = res
def test_client_no_noise(self):
self.skip_if_cannot_daemonize()
- from allmydata import get_package_versions, normalized_version
- twisted_ver = get_package_versions()['Twisted']
-
- if not normalized_version(twisted_ver) >= normalized_version('9.0.0'):
- 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")