Skip to content

Commit 89d0b3d

Browse files
committed
Remove check of track only attribute in tests
1 parent 50ee424 commit 89d0b3d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_video.py

-4
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ def test_video_Movie_attrs(movies):
135135
assert audio._server._baseurl == utils.SERVER_BASEURL
136136
assert audio.title is None
137137
assert audio.type == 2
138-
with pytest.raises(AttributeError):
139-
assert audio.albumGain is None # Check track only attributes are not available
140138
# Media
141139
media = movie.media[0]
142140
assert media.aspectRatio >= 1.3
@@ -160,8 +158,6 @@ def test_video_Movie_attrs(movies):
160158
assert media.videoProfile == "main"
161159
assert media.videoResolution in utils.RESOLUTIONS
162160
assert utils.is_int(media.width, gte=200)
163-
with pytest.raises(AttributeError):
164-
assert media.aperture is None # Check photo only attributes are not available
165161
# Video
166162
video = movie.media[0].parts[0].videoStreams()[0]
167163
assert video.anamorphic is None

0 commit comments

Comments
 (0)