python_prctl is only for linux, so
- make requirements platform dependent - skip test_process_name in TestProcess
This commit is contained in:
parent
2ac7b572e8
commit
568c0a606f
|
@ -1,5 +1,5 @@
|
|||
coverage
|
||||
python_prctl
|
||||
python_prctl;platform_system=="Linux"
|
||||
psutil
|
||||
pycrypto
|
||||
six
|
||||
|
|
|
@ -192,6 +192,7 @@ class TestProcessShutdown(TestProcessProto):
|
|||
|
||||
class TestProcess(TestProcessProto):
|
||||
"""A test case for pybitmessage process"""
|
||||
@unittest.skipIf(sys.platform[:5] != 'linux', 'probably needs prctl')
|
||||
def test_process_name(self):
|
||||
"""Check PyBitmessage process name"""
|
||||
self.assertEqual(self.process.name(), 'PyBitmessage')
|
||||
|
|
Reference in New Issue
Block a user