From f5fba7d1a83b1f64334c3962a289d166f79fcdfe Mon Sep 17 00:00:00 2001 From: Muzahid Date: Tue, 6 Apr 2021 13:04:44 +0530 Subject: [PATCH] update changes and rename file name --- .../{test_config_functional.py => test_config_process.py} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename src/tests/{test_config_functional.py => test_config_process.py} (95%) diff --git a/src/tests/test_config_functional.py b/src/tests/test_config_process.py similarity index 95% rename from src/tests/test_config_functional.py rename to src/tests/test_config_process.py index 4195efd6..f3cf19f2 100644 --- a/src/tests/test_config_functional.py +++ b/src/tests/test_config_process.py @@ -4,18 +4,20 @@ Various tests for config 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(