From 819292b8097509bea3ef10c1d077f07214b512fa Mon Sep 17 00:00:00 2001 From: Hellowlol Date: Mon, 27 Apr 2020 21:43:35 +0300 Subject: [PATCH] add some tests --- tests/test_library.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_library.py b/tests/test_library.py index 83c437cf..7417b4d9 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -260,3 +260,6 @@ def test_crazy_search(plex, movie): ), "Unable to search movie by year." assert movie not in movies.search(year=2007), "Unable to filter movie by year." assert movie in movies.search(actor=movie.actors[0].tag) + assert len(movies.search(container_start=2, maxresults=1)) == 1 + assert len(movies.search(container_size=None)) == 4 + assert len(movies.search(container_size=1)) == 4