Skip to content

Commit

Permalink
update changes and rename file name
Browse files Browse the repository at this point in the history
  • Loading branch information
cis-muzahid committed Apr 6, 2021
1 parent f075d27 commit f5fba7d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@

import os
import tempfile

from .test_process import TestProcessProto
from pybitmessage.bmconfigparser import BMConfigParser
from .test_process import TestProcessProto


class TestProcessConfig(TestProcessProto):
"""A test case for keys.dat"""
home = tempfile.mkdtemp()


def test_config_defaults(self):
"""Test settings in the generated config"""
config = BMConfigParser()
self._stop_process()
self._kill_process()
config.read(os.path.join(self.home, 'keys.dat'))

self.assertEqual(config.safeGetInt(
Expand Down

0 comments on commit f5fba7d

Please sign in to comment.