Downloads can be deleted.

This commit is contained in:
Roland 2022-11-12 14:17:21 -07:00
parent 4ab01eaa90
commit 02124307e4
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
7 changed files with 100 additions and 88 deletions

View file

@ -79,8 +79,6 @@ def get_or_create_map_file(pbf_path: Path, session: Session) -> MapFile:
import_logger = logger.getChild('import')
OSMIUM_BIN = which('osmium', '/usr/bin/osmium')
async def import_files(paths: List[str]):
if IMPORT_EVENT.is_set():

View file

@ -110,7 +110,8 @@ def test_channel_frequency_update(download_channel, test_client, test_session, t
assert len(list(downloads)) == 1
def test_channel_download_crud(test_session, simple_channel):
@pytest.mark.asyncio
async def test_channel_download_crud(test_session, simple_channel, test_downloader_config):
"""Modifying a Channel modifies it's Download."""
assert simple_channel.url
assert simple_channel.download_frequency is None