diff --git a/modem/config.ini.example b/modem/config.ini.example index b744599f..0193135a 100644 --- a/modem/config.ini.example +++ b/modem/config.ini.example @@ -1,5 +1,5 @@ [NETWORK] -modemport = 3000 +modemport = 3050 [STATION] mycall = XX1XXX @@ -49,7 +49,6 @@ tuning_range_fmax = 50 tuning_range_fmin = -50 enable_fsk = False enable_low_bandwidth_mode = False -enable_hmac = False enable_morse_identifier = False respond_to_cq = False rx_buffer_size = 64 diff --git a/tests/test_config.py b/tests/test_config.py old mode 100644 new mode 100755 index 8ddc1c7e..0e1819d8 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -5,10 +5,10 @@ class TestConfigMethods(unittest.TestCase): @classmethod def setUpClass(cls): - cls.config = config.CONFIG('modem/config.ini') + cls.config = config.CONFIG('modem/config.ini.example') def test_config_exists(self): - c = config.CONFIG('modem/config.ini') + c = config.CONFIG('modem/config.ini.example') self.assertTrue(c.config_exists()) c = config.CONFIG('modem/nonexistant.ini') diff --git a/tests/test_server.py b/tests/test_server.py old mode 100644 new mode 100755 index 21578da5..affc0e49 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -15,7 +15,7 @@ class TestIntegration(unittest.TestCase): def setUpClass(cls): cmd = "flask --app modem/server run" my_env = os.environ.copy() - my_env["FREEDATA_CONFIG"] = "modem/config.ini" + my_env["FREEDATA_CONFIG"] = "modem/config.ini.example" cls.process = Popen(shlex.split(cmd), stdin=PIPE, env=my_env) time.sleep(1)