forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -56,18 +56,6 @@ def test_track_finish_bypasses_the_throttle():
|
||||
assert updates[-1]["completed_tracks"] == 1
|
||||
|
||||
|
||||
def test_phase_change_bypasses_the_throttle():
|
||||
updates: list[dict] = []
|
||||
cbs = build_job_progress_callables([Video(2160), Video(720)], [noop, noop], updates.append)
|
||||
|
||||
cbs[0](total=100, completed=1)
|
||||
first_phase = updates[-1]["phase"]
|
||||
|
||||
cbs[1](total=100, completed=1)
|
||||
assert len(updates) == 2
|
||||
assert updates[-1]["phase"] != first_phase
|
||||
|
||||
|
||||
def test_filled_track_bypasses_the_throttle_without_a_terminal_string():
|
||||
"""A track can reach its segment total and never send "Downloaded". That last tick must land,
|
||||
or the job reports a percentage that is short for good."""
|
||||
|
||||
Reference in New Issue
Block a user