Fixup tests for section timings
This commit is contained in:
parent
b399abb471
commit
ab084ccf97
@ -245,9 +245,9 @@ def test_timing_one_track(monkeypatch, session):
|
|||||||
model.insert_header_row(START_ROW, "start+")
|
model.insert_header_row(START_ROW, "start+")
|
||||||
model.insert_header_row(END_ROW, "-")
|
model.insert_header_row(END_ROW, "-")
|
||||||
|
|
||||||
prd = model.playlist_rows[END_ROW]
|
prd = model.playlist_rows[START_ROW]
|
||||||
qv_value = model.display_role(END_ROW, playlistmodel.HEADER_NOTES_COLUMN, prd)
|
qv_value = model.display_role(START_ROW, playlistmodel.HEADER_NOTES_COLUMN, prd)
|
||||||
assert qv_value.value() == "4:23"
|
assert qv_value.value() == "start [1 tracks, 4:23 unplayed]"
|
||||||
|
|
||||||
|
|
||||||
# def test_edit_header(monkeypatch, session): # edit header row in middle of playlist
|
# def test_edit_header(monkeypatch, session): # edit header row in middle of playlist
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user