mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
chore: linting
This commit is contained in:
parent
c85c3a438e
commit
80d3f624d4
9 changed files with 310 additions and 127 deletions
|
|
@ -202,9 +202,7 @@ class TestHTTPExceptionHandler:
|
|||
# Intentional 503s (e.g. feature flag off) must surface the developer
|
||||
# message so the frontend can render actionable copy.
|
||||
body = _assert_envelope(client.get("/http-503"), 503)
|
||||
assert (
|
||||
body["error"]["message"] == "Page purchases are temporarily unavailable."
|
||||
)
|
||||
assert body["error"]["message"] == "Page purchases are temporarily unavailable."
|
||||
assert body["error"]["message"] != GENERIC_5XX_MESSAGE
|
||||
|
||||
def test_502_preserves_detail(self, client):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue