Skip to content

Commit

Permalink
chore: test accessing session track width
Browse files Browse the repository at this point in the history
  • Loading branch information
kmontag committed Aug 17, 2024
1 parent 0451e07 commit 05b94a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_live_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,10 @@ def test_view_properties(live_12_default_set: pathlib.Path):
value = getattr(live_set, prop)
assert value == expected_value, f"Expected {prop} to be {expected_value}, but was {value}"

for track in (*live_set.primary_tracks, *live_set.return_tracks):
track_width = track.device_chain.mixer.view_state_sesstion_track_width
assert track_width == 93, f"Unexpected track_width value: {track_width}"

# Change one property and make sure it gets saved.
live_set.chooser_bar = LiveSet.CHOOSER_BAR_ARRANGEMENT

Expand Down

0 comments on commit 05b94a5

Please sign in to comment.