mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 03:46:29 -05:00
Downloads can be deleted.
This commit is contained in:
parent
4ab01eaa90
commit
02124307e4
7 changed files with 100 additions and 88 deletions
|
|
@ -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():
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue