Add server NotFound test

This commit is contained in:
Jason Lawrence 2020-04-15 22:07:53 -05:00
parent a6cfe4225a
commit 049791c5cf

View file

@ -85,6 +85,11 @@ def _detect_color_image(file, thumb_size=150, MSE_cutoff=22, adjust_color_bias=T
return 'blackandwhite'
def test_server_fetchitem_notfound(plex):
with pytest.raises(NotFound):
plex.fetchItem(123456789)
def test_server_search(plex, movie):
title = movie.title
assert plex.search(title)