refactor(tests): Add strict type hints to final batch of test files
This commit is contained in:
@@ -40,8 +40,7 @@ def test_has_cycle_indirect_cycle() -> None:
|
||||
dag = TrackDAG([t1, t2, t3])
|
||||
assert dag.has_cycle()
|
||||
|
||||
def test_has_cycle_complex_no_cycle():
|
||||
# T1 -> T2, T1 -> T3, T2 -> T4, T3 -> T4
|
||||
def test_has_cycle_complex_no_cycle() -> None:
|
||||
t1 = Ticket(id="T1", description="T1", status="todo", assigned_to="worker", depends_on=["T2", "T3"])
|
||||
t2 = Ticket(id="T2", description="T2", status="todo", assigned_to="worker", depends_on=["T4"])
|
||||
t3 = Ticket(id="T3", description="T3", status="todo", assigned_to="worker", depends_on=["T4"])
|
||||
|
||||
Reference in New Issue
Block a user