Skip to content

Commit

Permalink
Make sure audio_quality is reset to default before tests continue
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Sep 11, 2024
1 parent 3bae6ea commit b0d8edb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,3 +521,8 @@ def validate_stream_manifest(manifest, is_hi_res_lossless: bool = False):
assert manifest.mime_type == MimeType.audio_mp4
assert manifest.sample_rate == 192000
# TODO Validate stream URL contents


def test_reset_session_quality(session):
# HACK: Make sure to reset audio quality to default value for remaining tests
session.audio_quality = Quality.default

0 comments on commit b0d8edb

Please sign in to comment.