Fix test failures in low-voltage PR (#1207)

* fix lint checks in web python

* fix lint checks in common python

* rework to pass tests in docker

* fix css style lint

* fix css style syntax
This commit is contained in:
Benjamin Krein
2023-09-04 11:08:42 -04:00
committed by GitHub
parent 74eef6f9cc
commit b514440957
9 changed files with 63 additions and 59 deletions
-9
View File
@@ -286,12 +286,3 @@ def test_rename_system(env, http_client):
response_data = response.json()
assert response_data["data"]["system_name"] == old_name
def test_throttle_notification(http_client):
response = http_client.get("/")
response_data = response.json()
assert response.status_code == 200
assert response_data["status"] == STATUS_SUCCESS
assert "Under voltage detected" in response_data["data"]