Skip to content

Commit

Permalink
Remove check of track only attribute in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyWong16 committed Dec 29, 2023
1 parent 50ee424 commit 89d0b3d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ def test_video_Movie_attrs(movies):
assert audio._server._baseurl == utils.SERVER_BASEURL
assert audio.title is None
assert audio.type == 2
with pytest.raises(AttributeError):
assert audio.albumGain is None # Check track only attributes are not available
# Media
media = movie.media[0]
assert media.aspectRatio >= 1.3
Expand All @@ -160,8 +158,6 @@ def test_video_Movie_attrs(movies):
assert media.videoProfile == "main"
assert media.videoResolution in utils.RESOLUTIONS
assert utils.is_int(media.width, gte=200)
with pytest.raises(AttributeError):
assert media.aperture is None # Check photo only attributes are not available
# Video
video = movie.media[0].parts[0].videoStreams()[0]
assert video.anamorphic is None
Expand Down

0 comments on commit 89d0b3d

Please sign in to comment.