mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-21 02:17:25 +00:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user