feat: async pytest, testcases for starting and finishing shifts
This commit is contained in:
16
tests/fixtures/work_shifts.json
vendored
Normal file
16
tests/fixtures/work_shifts.json
vendored
Normal 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
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user