feat: async pytest, testcases for starting and finishing shifts
This commit is contained in:
30
tests/fixtures/users.json
vendored
Normal file
30
tests/fixtures/users.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"first_name": "Алексей",
|
||||
"second_name": "Васильев",
|
||||
"patronymic": "Алексеевич",
|
||||
"comment": "First admin user",
|
||||
"telegram_id": 123123123,
|
||||
"phone_number": "88005553535",
|
||||
"passport_data": "3443556677",
|
||||
"is_admin": true,
|
||||
"is_blocked": false,
|
||||
"is_deleted": false,
|
||||
"role_key": "admin"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"first_name": "Магаджан",
|
||||
"second_name": "Хузургалиев",
|
||||
"patronymic": "Татариевич",
|
||||
"comment": "First employee user",
|
||||
"telegram_id": 33322211122,
|
||||
"phone_number": "88005553536",
|
||||
"passport_data": "8899123321",
|
||||
"is_admin": false,
|
||||
"is_blocked": false,
|
||||
"is_deleted": false,
|
||||
"role_key": "employee"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user