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:
@@ -712,7 +712,11 @@ async def test_find_by_store_until(async_db_session):
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_sheets_by_id_hash(async_db_session):
|
||||
author_emails = ["rick@example.com", "morty@example.com", "jerry@example.com"]
|
||||
author_emails = [
|
||||
"rick@example.com",
|
||||
"morty@example.com",
|
||||
"jerry@example.com",
|
||||
]
|
||||
|
||||
# Add test data
|
||||
sheets = [
|
||||
|
||||
@@ -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