Add test for BITMESSAGE_HOME
This commit is contained in:
parent
30a78901f9
commit
f5fa7d47ad
|
@ -198,6 +198,11 @@ class TestProcess(TestProcessProto):
|
|||
"""Check PyBitmessage process name"""
|
||||
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):
|
||||
"""Check existence of PyBitmessage files"""
|
||||
for pfile in self._files:
|
||||
|
|
Loading…
Reference in New Issue
Block a user