Add test for partial reload with disabled include

This commit is contained in:
JonnyWong16 2020-11-21 13:21:13 -08:00
parent a12f8b09e5
commit 82a9fce665
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -66,6 +66,8 @@ def test_video_Movie_getStreamURL(movie, account):
def test_video_Movie_isFullObject_and_reload(plex):
movie = plex.library.section("Movies").get("Sita Sings the Blues")
assert movie.isFullObject() is False
movie.reload(checkFiles=False)
assert movie.isFullObject() is False
movie.reload()
assert movie.isFullObject() is True
movie_via_search = plex.library.search(movie.title)[0]