feat: async pytest, testcases for starting and finishing shifts

This commit is contained in:
2025-11-26 15:58:59 +04:00
parent c71a460170
commit ed00d1483d
14 changed files with 1933 additions and 1393 deletions

18
tests/fixtures/pay_rates.json vendored Normal file
View File

@@ -0,0 +1,18 @@
[
{
"id": 1,
"name": "Старший упаковщик",
"payroll_scheme_key": "hourly",
"base_rate": 350,
"overtime_rate": 450,
"overtime_threshold": 8
},
{
"id": 2,
"name": "Менеджер по продажам",
"payroll_scheme_key": "hourly",
"base_rate": 450,
"overtime_rate": 550,
"overtime_threshold": 8
}
]