update timetable dispaly of remote sites
This commit is contained in:
+3
-5
@@ -22,7 +22,6 @@ class TestDemoRota:
|
||||
|
||||
Rota.constraint_options["max_shifts_per_week"] = 5
|
||||
Rota.constraint_options["max_shifts_per_month"] = 31
|
||||
Rota.constraint_options["ensure_derriford_reg_for_nights"] = False
|
||||
Rota.constraint_options["constrain_time_off_after_nights"] = False
|
||||
Rota.constraint_options["balance_nights_across_site"] = False
|
||||
Rota.constraint_options["balance_shifts"] = True
|
||||
@@ -159,7 +158,7 @@ class TestDemoRota:
|
||||
case _:
|
||||
assert 1 == 0
|
||||
|
||||
def test_worker_shift_targets(self):
|
||||
def test_worker_shift_targets2(self):
|
||||
shift_number = self.Rota.get_shift_summary_dict()
|
||||
|
||||
for worker in self.Rota.workers:
|
||||
@@ -197,7 +196,6 @@ class TestDemoRotaNights:
|
||||
|
||||
Rota.constraint_options["max_shifts_per_week"] = 5
|
||||
Rota.constraint_options["max_shifts_per_month"] = 31
|
||||
Rota.constraint_options["ensure_derriford_reg_for_nights"] = False
|
||||
Rota.constraint_options["limit_to_1_st2_on_nights"] = False
|
||||
Rota.constraint_options["constrain_time_off_after_nights"] = False
|
||||
Rota.constraint_options["balance_nights_across_site"] = False
|
||||
@@ -868,7 +866,7 @@ class TestLimitConstraints:
|
||||
),
|
||||
)
|
||||
self.Rota.build_and_solve(options={"ratio": 0.00})
|
||||
self.Rota.export_rota_to_html("test9")
|
||||
self.Rota.export_rota_to_html("remote1")
|
||||
|
||||
group_workers = self.Rota.get_workers_by_group()
|
||||
for group in group_workers:
|
||||
@@ -902,7 +900,7 @@ class TestLimitConstraints:
|
||||
),
|
||||
)
|
||||
self.Rota.build_and_solve(options={"ratio": 0.00})
|
||||
self.Rota.export_rota_to_html("test9")
|
||||
self.Rota.export_rota_to_html("remote2")
|
||||
|
||||
group_workers = self.Rota.get_workers_by_group()
|
||||
for group in group_workers:
|
||||
|
||||
Reference in New Issue
Block a user