reverted some changes
This commit is contained in:
parent
2e8da0e765
commit
b47827fb54
|
@ -13,8 +13,6 @@ import psutil
|
||||||
|
|
||||||
from .common import cleanup, put_signal_file
|
from .common import cleanup, put_signal_file
|
||||||
|
|
||||||
PY3 = sys.version_info[0] >= 3
|
|
||||||
|
|
||||||
|
|
||||||
class TestProcessProto(unittest.TestCase):
|
class TestProcessProto(unittest.TestCase):
|
||||||
"""Test case implementing common logic for external testing:
|
"""Test case implementing common logic for external testing:
|
||||||
|
@ -192,10 +190,7 @@ class TestProcess(TestProcessProto):
|
||||||
"""A test case for pybitmessage process"""
|
"""A test case for pybitmessage process"""
|
||||||
def test_process_name(self):
|
def test_process_name(self):
|
||||||
"""Check PyBitmessage process name"""
|
"""Check PyBitmessage process name"""
|
||||||
if PY3:
|
self.assertEqual(self.process.name(), 'PyBitmessage')
|
||||||
self.assertEqual(self.process.name(), 'pybitmessage')
|
|
||||||
else:
|
|
||||||
self.assertEqual(self.process.name(), 'PyBitmessage')
|
|
||||||
|
|
||||||
@unittest.skipIf(psutil.version_info < (4, 0), 'psutil is too old')
|
@unittest.skipIf(psutil.version_info < (4, 0), 'psutil is too old')
|
||||||
def test_home(self):
|
def test_home(self):
|
||||||
|
|
Reference in New Issue
Block a user