From ce51fc70e96b0486ac58716a664d6b0e4f9bec0c Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Wed, 23 Dec 2020 17:46:38 -0800 Subject: [PATCH] Fix library section all test with max results --- tests/test_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_library.py b/tests/test_library.py index 6866de6c..e2571211 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -54,7 +54,7 @@ def test_library_section_get_movie(plex): def test_library_section_movies_all(movies): # size should always be none unless pagenation is being used. assert movies.totalSize == 4 - assert len(movies.all(container_start=0, container_size=1)) == 1 + assert len(movies.all(container_start=0, container_size=1, maxresults=1)) == 1 def test_library_section_delete(movies, patched_http_call):