Switched to FastHTML

This commit is contained in:
2024-08-04 20:37:06 +02:00
parent dd0806fe89
commit fad0f6e5dd
6 changed files with 562 additions and 24 deletions

View File

@ -83,7 +83,7 @@ def test_get_file_invalid_format():
response = requests.get(
f'{PROTOCOL}://{HOST}:{PORT}/?api_key={API_KEY}&size=32Invalid', timeout=TIMEOUT)
assert response.status_code == 400
assert response.json()['detail'] == 'Invalid Format.'
assert response.text == 'Invalid Format.'
def test_database_data_used(server):