From 89743d14d150fbbc0663b8f1ad14fcaaea5da455 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Mon, 6 Apr 2026 18:12:27 +0200 Subject: [PATCH] add todos --- tests/test_api_assets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_api_assets.py b/tests/test_api_assets.py index 277e67d5..85d04a55 100644 --- a/tests/test_api_assets.py +++ b/tests/test_api_assets.py @@ -35,6 +35,7 @@ def before_each() -> None: asset_store.clear() +#todo: target file uploaded as type=source is semantically wrong, split into separate source and target uploads def test_upload_asset(test_client : TestClient) -> None: upload_response = test_client.post('/assets?type=source') @@ -122,6 +123,7 @@ def test_upload_asset(test_client : TestClient) -> None: assert upload_response.status_code == 415 +#todo: target file uploaded as type=source is semantically wrong, split into separate source and target uploads def test_get_assets(test_client : TestClient) -> None: get_response = test_client.get('/assets') @@ -291,6 +293,7 @@ def test_delete_assets(test_client : TestClient) -> None: assert delete_response.status_code == 404 +#todo: target file uploaded as type=source is semantically wrong, upload as type=target with target_paths def test_upload_asset_security_strategies(test_client : TestClient) -> None: source_path = get_test_example_file('source.jpg') target_path = get_test_example_file('target-240p.mp4')