100% coverage, unit tests implemented.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2021-10-01 16:05:23 -04:00
parent 3c87b49554
commit 27013c70f0
6 changed files with 28 additions and 22 deletions

View File

@@ -165,7 +165,7 @@ async def test_gen_batch_params(mocker: pytest.fixture) -> None:
)
mock_total_track_count.return_value = 12
mock_const = mocker.patch("playlist.plex.server.const")
mock_const.MAX_PROCESSES = 3
mock_const.MAX_PROCESSES = 10
mocker.patch("playlist.plex.server.settings")
mocker.patch(
"playlist.plex.server.asyncio",