Minor changes for testing on non-Linux platforms #1838

Merged
g1itch merged 4 commits from windows-test into v0.6 2021-09-05 14:22:43 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 568c0a606f - Show all commits

View File

@ -1,5 +1,5 @@
coverage
python_prctl
python_prctl;platform_system=="Linux"
psutil
pycrypto
six

View File

@ -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')