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

16
tests/fixtures/work_shifts.json vendored Normal file
View File

@@ -0,0 +1,16 @@
[
{
"id": 100,
"started_at": "2024-11-21 11:55:00",
"finished_at": null,
"user_id": 2,
"is_paused": false
},
{
"id": 101,
"started_at": "2024-11-11 12:00:00",
"finished_at": null,
"user_id": 1,
"is_paused": true
}
]