Include Atlos tests, metadata fixture.

This commit is contained in:
erinhmclark
2025-02-19 09:18:41 +00:00
parent f0fd9bf445
commit 10a5ad62b8
7 changed files with 361 additions and 19 deletions

View File

@@ -19,14 +19,6 @@ def api_db(setup_module):
return setup_module(AAApiDb, configs)
@pytest.fixture
def metadata():
metadata = Metadata()
metadata.set("_processed_at", "2021-01-01T00:00:00")
metadata.set_url("https://example.com")
return metadata
def test_fetch_no_cache(api_db, metadata):
# Test fetch
api_db.use_api_cache = False