Skip TestProcess.test_listening() on wine

This commit is contained in:
Lee Miller 2022-04-18 17:16:52 +03:00
parent a3214b8eea
commit 722f275172
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -205,6 +205,8 @@ class TestProcess(TestProcessProto):
self.assertEqual(
self.process.environ().get('BITMESSAGE_HOME'), self.home)
@unittest.skipIf(
os.getenv('WINEPREFIX'), "process.connections() doesn't work on wine")
def test_listening(self):
"""Check that pybitmessage listens on port 8444"""
for c in self.process.connections():