add some tests

This commit is contained in:
Hellowlol 2020-04-27 21:43:35 +03:00
parent 5a2f14e645
commit 819292b809

View file

@ -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