update from last round
This commit is contained in:
@@ -146,7 +146,7 @@ class TestWorkerRequests:
|
||||
|
||||
Rota.add_worker_name_constraint_by_week(["worker3"], [1,2,3], ["a"])
|
||||
Rota.build_and_solve(options={"ratio": 0.000})
|
||||
assert Rota.results.solver.status == "warning"
|
||||
assert Rota.results.solver.status in ("warning", "error")
|
||||
|
||||
def test_avoid_worker_constraint_multiple_shifts(self):
|
||||
Rota = generate_basic_rota()
|
||||
@@ -193,4 +193,4 @@ class TestWorkerRequests:
|
||||
|
||||
Rota.add_worker_name_constraint_by_week(["worker1"], [7,8,9], ["a"])
|
||||
Rota.build_and_solve(options={"ratio": 0.000})
|
||||
assert Rota.results.solver.status == "warning"
|
||||
assert Rota.results.solver.status in ("warning", "error")
|
||||
Reference in New Issue
Block a user