Skip to content

Commit c5083c3

Browse files
committed
fix test..
1 parent e0796e2 commit c5083c3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

plexapi/playlist.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,9 @@ def create(cls, server, title, items=None, section=None, limit=None, smart=False
160160
limit (int): default None.
161161
smart (bool): default False.
162162
163-
**kwargs dict:
164-
is passed to the filters. For a example see the search method.
163+
**kwargs (dict): is passed to the filters. For a example see the search method.
165164
166-
returns:
165+
Returns:
167166
class:`~plexapi.playlist.Playlist
168167
"""
169168
if smart:

tests/test_playlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ def test_copyToUser(plex, show, fresh_plex, shared_username):
112112

113113

114114
def test_smart_playlist(plex, movies):
115-
pl = plex.createPlaylist(title='smart_playlist', limit=1, section=movies, year=2008)
115+
pl = plex.createPlaylist(title='smart_playlist', smart=True, limit=1, section=movies, year=2008)
116116
assert len(pl.items()) == 1
117117
assert pl.smart

0 commit comments

Comments
 (0)