diff --git a/cbpi/cli.py b/cbpi/cli.py index ab7d6dd..dbfdb60 100644 --- a/cbpi/cli.py +++ b/cbpi/cli.py @@ -40,7 +40,6 @@ class CraftBeerPiCli(): print("Setting up 1Wire") with open('/boot/config.txt', 'r') as f: lines=f.readlines() - #f.write("dtoverlay=w1-gpio,gpiopin=4,pullup=on") lines.append("dtoverlay=w1-gpio,gpiopin=4,pullup=on") configtempfile=os.path.join(self.config.get_file_path(""),"config.txt") diff --git a/tests/cbpi-test-config/config.json b/tests/cbpi-test-config/config.json index 298b8b0..c71bc3b 100644 --- a/tests/cbpi-test-config/config.json +++ b/tests/cbpi-test-config/config.json @@ -80,10 +80,10 @@ "options": null, "source": "hidden", "type": "string", - "value": "4.1.10.a1" + "value": "4.2.0.a6" }, "CSVLOGFILES": { - "description": "Write sensor data to csv logfiles", + "description": "Write sensor data to csv logfiles (enabling requires restart)", "name": "CSVLOGFILES", "options": [ { @@ -100,7 +100,7 @@ "value": "Yes" }, "INFLUXDB": { - "description": "Write sensor data to influxdb", + "description": "Write sensor data to influxdb (enabling requires restart)", "name": "INFLUXDB", "options": [ { diff --git a/tests/test_sensor.py b/tests/test_sensor.py index 250c4b9..7544f2b 100644 --- a/tests/test_sensor.py +++ b/tests/test_sensor.py @@ -4,7 +4,6 @@ from tests.cbpi_config_fixture import CraftBeerPiTestCase class SensorTestCase(CraftBeerPiTestCase): - @unittest_run_loop async def test_crud(self): data = { diff --git a/tests/test_step.py b/tests/test_step.py index a4ce794..6562ad9 100644 --- a/tests/test_step.py +++ b/tests/test_step.py @@ -4,7 +4,6 @@ from tests.cbpi_config_fixture import CraftBeerPiTestCase class StepTestCase(CraftBeerPiTestCase): - @unittest_run_loop async def test_get(self): resp = await self.client.request("GET", "/step2") @@ -12,7 +11,6 @@ class StepTestCase(CraftBeerPiTestCase): assert resp.status == 200 - @unittest_run_loop async def test_crud(self): data = { "name": "Test", diff --git a/tests/test_system.py b/tests/test_system.py index 3cbbc7b..19bf185 100644 --- a/tests/test_system.py +++ b/tests/test_system.py @@ -4,7 +4,6 @@ from tests.cbpi_config_fixture import CraftBeerPiTestCase class IndexTestCase(CraftBeerPiTestCase): - @unittest_run_loop async def test_endpoints(self): # Test Index Page resp = await self.client.post(path="/system/restart")