Add test for BITMESSAGE_HOME
This commit is contained in:
parent
265fb932a8
commit
5052602c21
|
@ -198,6 +198,11 @@ class TestProcess(TestProcessProto):
|
||||||
"""Check PyBitmessage process name"""
|
"""Check PyBitmessage process name"""
|
||||||
self.assertEqual(self.process.name(), 'PyBitmessage')
|
self.assertEqual(self.process.name(), 'PyBitmessage')
|
||||||
|
|
||||||
|
def test_home(self):
|
||||||
|
"""Ensure BITMESSAGE_HOME is used by process"""
|
||||||
|
self.assertEqual(
|
||||||
|
self.process.environ().get('BITMESSAGE_HOME'), self.home)
|
||||||
|
|
||||||
def test_files(self):
|
def test_files(self):
|
||||||
"""Check existence of PyBitmessage files"""
|
"""Check existence of PyBitmessage files"""
|
||||||
for pfile in self._files:
|
for pfile in self._files:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user