Skip to content

Commit 6fd1b27

Browse files
authored
adding video checks
adding checks for newly added attributes.
1 parent 8e7c5e9 commit 6fd1b27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_video.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def test_video_Movie_attrs(movies):
215215
assert len(part.key) >= 10
216216
assert part._server._baseurl == utils.SERVER_BASEURL
217217
assert utils.is_int(part.size, gte=1000000)
218+
assert part.exists
219+
assert part.accessible
218220
# Stream 1
219221
stream1 = part.streams[0]
220222
assert stream1.bitDepth in (8, None)
@@ -506,6 +508,8 @@ def test_video_Episode_attrs(episode):
506508
assert len(part.key) >= 10
507509
assert part._server._baseurl == utils.SERVER_BASEURL
508510
assert utils.is_int(part.size, gte=18184197)
511+
assert part.exists
512+
assert part.accessible
509513

510514

511515
def test_video_Season(show):

0 commit comments

Comments
 (0)