mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-29 07:00:19 +00:00
9 lines
279 B
Python
9 lines
279 B
Python
|
|
|
|
def test_photo_Photoalbum(photoalbum):
|
|
assert len(photoalbum.albums()) == 3
|
|
assert len(photoalbum.photos()) == 3
|
|
cats_in_bed = photoalbum.album('Cats in bed')
|
|
assert len(cats_in_bed.photos()) == 7
|
|
a_pic = cats_in_bed.photo('maxresdefault')
|
|
assert a_pic
|