fix: resolve all mypy type errors
Some checks failed
CI / Lint & Format (push) Failing after 16s
CI / Unit Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Security Scan (push) Failing after 21s
CI / Security Tests (push) Has been skipped
Some checks failed
CI / Lint & Format (push) Failing after 16s
CI / Unit Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Security Scan (push) Failing after 21s
CI / Security Tests (push) Has been skipped
This commit is contained in:
@@ -95,7 +95,9 @@ def create_paste(
|
||||
|
||||
response = client.post("/", data=content, headers=headers)
|
||||
assert response.status_code == 201
|
||||
return response.get_json()["id"]
|
||||
data = response.get_json()
|
||||
assert data is not None
|
||||
return str(data["id"])
|
||||
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user