mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-12 13:38:33 +03:00
Format and lint web directory (#67)
This commit is contained in:
@@ -7,6 +7,7 @@ import alembic.config
|
||||
import pytest
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from app.web.main import app_factory
|
||||
from app.web.utils.metrics import EXCEPTION_COUNTER
|
||||
|
||||
|
||||
@@ -59,7 +60,6 @@ def test_serve_local_archive_logic(get_settings):
|
||||
try:
|
||||
# modify the settings
|
||||
get_settings.SERVE_LOCAL_ARCHIVE = "/app/local_archive_test"
|
||||
from app.web.main import app_factory
|
||||
|
||||
app = app_factory(get_settings)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user