Skip to content

Commit db9668a

Browse files
author
Touchstone64
committed
Prevent test local variables from shadowing fixtures
1 parent 6563636 commit db9668a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_video.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,10 +1352,10 @@ def test_video_Episode_parent_guids(show):
13521352
assert season
13531353
assert season.isPartialObject()
13541354
assert season.guids
1355-
show = episode.show()
1356-
assert show
1357-
assert show.isPartialObject()
1358-
assert show.guids
1355+
parent_show = episode.show()
1356+
assert parent_show
1357+
assert parent_show.isPartialObject()
1358+
assert parent_show.guids
13591359
finally:
13601360
plexapi.base.USER_DONT_RELOAD_FOR_KEYS.remove('guids')
13611361

0 commit comments

Comments
 (0)