mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-12 21:48:35 +03:00
simplifying tests
This commit is contained in:
@@ -6,4 +6,4 @@ BLOCKED_EMAILS='["blocked@example.com"]'
|
|||||||
DATABASE_PATH="sqlite:///auto-archiver.test.db"
|
DATABASE_PATH="sqlite:///auto-archiver.test.db"
|
||||||
API_BEARER_TOKEN=this_is_the_test_api_token
|
API_BEARER_TOKEN=this_is_the_test_api_token
|
||||||
USER_GROUPS_FILENAME=tests/user-groups.test.yaml
|
USER_GROUPS_FILENAME=tests/user-groups.test.yaml
|
||||||
SHEET_ORCHESTRATION_YAML=tests/orchestration-sheet.test.yaml
|
SHEET_ORCHESTRATION_YAML=tests/orchestration.test.yaml
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
steps:
|
|
||||||
feeder: gsheet_feeder # default -> only expects URL from CLI
|
|
||||||
archivers: # order matters
|
|
||||||
- youtubedl_archiver
|
|
||||||
enrichers:
|
|
||||||
- hash_enricher
|
|
||||||
|
|
||||||
formatter: html_formatter # defaults to mute_formatter
|
|
||||||
storages:
|
|
||||||
- local_storage
|
|
||||||
databases:
|
|
||||||
- console_db
|
|
||||||
|
|
||||||
configurations:
|
|
||||||
gsheet_feeder:
|
|
||||||
sheet: test
|
|
||||||
header: 1 # defaults to 1 in GSheetsFeeder
|
|
||||||
service_account: "secrets/service_account.json"
|
|
||||||
hash_enricher:
|
|
||||||
algorithm: "SHA-256"
|
|
||||||
local_storage:
|
|
||||||
save_to: "./local_archive"
|
|
||||||
save_absolute: true
|
|
||||||
filename_generator: static
|
|
||||||
path_generator: flat
|
|
||||||
Reference in New Issue
Block a user