diff options
Diffstat (limited to 'tests/tasks/test_scanner.py')
| -rw-r--r-- | tests/tasks/test_scanner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tasks/test_scanner.py b/tests/tasks/test_scanner.py index 3de5e16..5823e9e 100644 --- a/tests/tasks/test_scanner.py +++ b/tests/tasks/test_scanner.py @@ -91,8 +91,8 @@ def write_post( def configure_scanner(app: Flask, root: Path, *, base_url: str | None = None) -> None: - app.config["WEBMENTIONS_SSG_SOURCE_DIRECTORY"] = str(root) - app.config["WEBMENTIONS_SSG_SOURCE_BASE_URL"] = base_url + app.config["SOURCE_DIRECTORY"] = str(root) + app.config["SOURCE_BASE_URL"] = base_url def test_parse_entry_returns_microformats_entry(scanner_module: ModuleType) -> None: @@ -1646,7 +1646,7 @@ def test_changed_source_url_is_rejected( def test_scan_sources_returns_when_source_directory_is_not_configured( app: Flask, scanner_module: ModuleType ) -> None: - app.config["WEBMENTIONS_SSG_SOURCE_DIRECTORY"] = None + app.config["SOURCE_DIRECTORY"] = None run_scan(app, scanner_module) |
