Skip to content

Commit f3f0ef1

Browse files
committed
Reformat test_frontend.py
1 parent 270d034 commit f3f0ef1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ repos:
4646
4747
4848
49+
4950
files: \.[j]sx?$
5051
exclude: "eslint.config.js|static/js/reconnecting-websocket.js"
5152
types: [file]

eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// eslint.config.js
22
const global = require("globals");
3-
const eslint = require("@eslint/js");
43

54
const reactPlugin = require("eslint-plugin-react");
65
const prettierPlugin = require("eslint-config-prettier");

tools/test_frontend.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ def verify_server_availability(url, timeout=180):
6161
), "Webservice(s) failed to launch:\n" + "\n".join(statuses)
6262

6363
response = requests.get(url)
64-
assert response.status_code == 200, (
65-
f"Expected status 200, got {response.status_code} for URL {url}. Retrying."
66-
)
64+
assert (
65+
response.status_code == 200
66+
), f"Expected status 200, got {response.status_code} for URL {url}. Retrying."
6767

6868
response = requests.get(url + "/static/build/main.bundle.js")
69-
assert response.status_code == 200, (
70-
"Javascript bundle not found, did packing fail?"
71-
)
69+
assert (
70+
response.status_code == 200
71+
), "Javascript bundle not found, did packing fail?"
7272

7373
return True # all checks passed
7474
except Exception as e:

0 commit comments

Comments
 (0)