fix(web): align trend ranges, next runs and preview task records
This commit is contained in:
1 parent
19572171b8
commit
257fbe009b
7 files changed
+139
-10
No files matched your search
@@ -74,6 +74,13 @@ def test_readonly_routes_and_static():
|
||||
assert "text/html" in headers["Content-Type"]
|
||||
assert b"<html" in payload.lower()
|
||||
|
||||
for asset in ("/static/style.css", "/static/app.js", "/static/vendor/echarts.min.js"):
|
||||
status, asset_headers, asset_payload = running.request(asset)
|
||||
assert status == 200, asset
|
||||
assert asset_payload, asset
|
||||
content_type = asset_headers["Content-Type"]
|
||||
assert "text/css" in content_type or "javascript" in content_type, asset
|
||||
|
||||
status, _, payload = running.request("/static/../config.json")
|
||||
assert status == 404
|
||||
|
||||
|
||||
Reference in new issue
Block a user