Skip to content

Commit 046b2ec

Browse files
committed
Add test for getting and item using a guid
1 parent 222fe04 commit 046b2ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_library.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ def test_library_section_get_movie(movies):
5353
assert movies.get("Sita Sings the Blues")
5454

5555

56+
def test_library_MovieSection_getGuid(movies, movie):
57+
result = movies.getGuid(guid=movie.guids[0].id)
58+
assert result == movie
59+
60+
5661
def test_library_section_movies_all(movies):
5762
# size should always be none unless pagenation is being used.
5863
assert movies.totalSize == 4

0 commit comments

Comments
 (0)