Skip TestProcess.test_listening() on wine
This commit is contained in:
parent
a3214b8eea
commit
722f275172
|
@ -205,6 +205,8 @@ class TestProcess(TestProcessProto):
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
self.process.environ().get('BITMESSAGE_HOME'), self.home)
|
self.process.environ().get('BITMESSAGE_HOME'), self.home)
|
||||||
|
|
||||||
|
@unittest.skipIf(
|
||||||
|
os.getenv('WINEPREFIX'), "process.connections() doesn't work on wine")
|
||||||
def test_listening(self):
|
def test_listening(self):
|
||||||
"""Check that pybitmessage listens on port 8444"""
|
"""Check that pybitmessage listens on port 8444"""
|
||||||
for c in self.process.connections():
|
for c in self.process.connections():
|
||||||
|
|
Reference in New Issue
Block a user