{"name": "addUserToPlace adds trusted member with accepted status", "status": "failed", "statusDetails": {"message": "AssertionError: Ожидали list в privileges, получили: None\n", "trace": " File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 76, in step_assert_trusted_worker_member\n td.assert_worker_member_trusted_and_accepted(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1098, in assert_worker_member_trusted_and_accepted\n assert isinstance(privileges, list), f\"Ожидали list в privileges, получили: {privileges!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777904187669, "stop": 1777904187816}, {"name": "And prepare place with owner and trusted worker for members query", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (main place)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(main) response", "source": "9bd4dd62-03cf-4690-983c-92ebd4457db3-attachment.json", "type": "application/json"}], "start": 1777904187817, "stop": 1777904187856}, {"name": "GraphQL: createUser (owner passreq)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "f00a9a5a-e583-4cec-a5d5-0f8e6fbe3efc-attachment.json", "type": "application/json"}], "start": 1777904187856, "stop": 1777904187907}, {"name": "GraphQL: createUser (worker passreq)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "fdf54c16-f68c-44f5-b14e-986acfe1242a-attachment.json", "type": "application/json"}], "start": 1777904187907, "stop": 1777904188024}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "87b28504-3713-4148-8810-0dc6cb46f7a9-attachment.json", "type": "application/json"}], "start": 1777904188024, "stop": 1777904188159}, {"name": "GraphQL: addUserToPlace (arg-dto-privilege/dto-input-privilege, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privilege/dto-input-privilege)", "source": "ff89bf4e-d4bf-4f21-837c-aca4f4556802-attachment.txt", "type": "text/plain"}], "start": 1777904188159, "stop": 1777904188185}, {"name": "GraphQL: addUserToPlace (arg-dto-privilege/dto-input-privileges, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privilege/dto-input-privileges)", "source": "59ca981d-5383-4237-bd72-6d7968d62f31-attachment.txt", "type": "text/plain"}], "start": 1777904188185, "stop": 1777904188211}, {"name": "GraphQL: addUserToPlace (arg-dto-privilege/dto-direct-privilege, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privilege/dto-direct-privilege)", "source": "565ed214-909f-4dd4-86cc-07172246004c-attachment.txt", "type": "text/plain"}], "start": 1777904188211, "stop": 1777904188238}, {"name": "GraphQL: addUserToPlace (arg-dto-privilege/dto-direct-privileges, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privilege/dto-direct-privileges)", "source": "2b2a447d-4994-4f56-9687-752a553236a4-attachment.txt", "type": "text/plain"}], "start": 1777904188238, "stop": 1777904188265}, {"name": "GraphQL: addUserToPlace (arg-dto-privilege/dto-input, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privilege/dto-input)", "source": "2f4ef539-db07-4b63-87b6-2d1e8afcfc31-attachment.txt", "type": "text/plain"}], "start": 1777904188265, "stop": 1777904188293}, {"name": "GraphQL: addUserToPlace (arg-dto-privilege/dto-direct, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privilege/dto-direct)", "source": "6eb1a4ee-c93e-43fd-a263-f8ace8f38250-attachment.txt", "type": "text/plain"}], "start": 1777904188293, "stop": 1777904188316}, {"name": "GraphQL: addUserToPlace (arg-dto-privileges/dto-input-privilege, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privileges/dto-input-privilege)", "source": "6d77be3a-ccc1-43d8-8579-35d0fb15f65a-attachment.txt", "type": "text/plain"}], "start": 1777904188316, "stop": 1777904188343}, {"name": "GraphQL: addUserToPlace (arg-dto-privileges/dto-input-privileges, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privileges/dto-input-privileges)", "source": "71cdb312-f7ad-4836-8711-9c9177f805b4-attachment.txt", "type": "text/plain"}], "start": 1777904188343, "stop": 1777904188367}, {"name": "GraphQL: addUserToPlace (arg-dto-privileges/dto-direct-privilege, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privileges/dto-direct-privilege)", "source": "20b4eb63-1f39-4fa1-ba42-6f1a0d12f48e-attachment.txt", "type": "text/plain"}], "start": 1777904188367, "stop": 1777904188392}, {"name": "GraphQL: addUserToPlace (arg-dto-privileges/dto-direct-privileges, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privileges/dto-direct-privileges)", "source": "81566d4e-afbd-4630-9173-28bd063144fb-attachment.txt", "type": "text/plain"}], "start": 1777904188393, "stop": 1777904188418}, {"name": "GraphQL: addUserToPlace (arg-dto-privileges/dto-input, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privileges/dto-input)", "source": "8a8191cf-6659-462d-ae00-15dfbf0e01cb-attachment.txt", "type": "text/plain"}], "start": 1777904188418, "stop": 1777904188445}, {"name": "GraphQL: addUserToPlace (arg-dto-privileges/dto-direct, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(arg-dto-privileges/dto-direct)", "source": "02288573-eca6-4c48-b455-1bd7bddc8f27-attachment.txt", "type": "text/plain"}], "start": 1777904188445, "stop": 1777904188470}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input-privilege, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-input-privilege)", "source": "0e999633-6871-4e8c-9ecd-cec5bc689a85-attachment.txt", "type": "text/plain"}, {"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-input-privilege)", "source": "8fae794e-ff5a-41ca-bfab-2ddaf1df5d92-attachment.txt", "type": "text/plain"}], "start": 1777904188470, "stop": 1777904189730}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input-privileges, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-input-privileges)", "source": "d0e8a66d-c621-4140-8a44-51cd40c18e2e-attachment.txt", "type": "text/plain"}, {"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-input-privileges)", "source": "5ed5baad-3488-445e-aef4-2850a60b739e-attachment.txt", "type": "text/plain"}], "start": 1777904189730, "stop": 1777904190985}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-direct-privilege, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-direct-privilege)", "source": "5303875a-36ff-4d54-9e32-7b92497d9c64-attachment.txt", "type": "text/plain"}, {"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-direct-privilege)", "source": "cff66376-16bc-4cf3-b10d-0c9e40eb1518-attachment.txt", "type": "text/plain"}], "start": 1777904190985, "stop": 1777904192253}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-direct-privileges, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-direct-privileges)", "source": "c416b538-fe8c-4cd0-9efd-b7ebf3906747-attachment.txt", "type": "text/plain"}, {"name": "RuntimeError: addUserToPlace(AddUserToPlaceDTO/dto-direct-privileges)", "source": "cc20a128-dc65-4b42-b03e-7bf1cea8add2-attachment.txt", "type": "text/plain"}], "start": 1777904192253, "stop": 1777904193502}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8aa3c17bb1e0c5fc4da65)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "a16a58ac-e206-47a0-bbd1-a3337e9d50cf-attachment.json", "type": "application/json"}], "start": 1777904193502, "stop": 1777904193598}, {"name": "GraphQL: updateMemberStatus (dto)", "status": "passed", "attachments": [{"name": "RuntimeError: updateMemberStatus", "source": "af7483e4-751e-4f8f-b47d-a4fae2181afd-attachment.txt", "type": "text/plain"}], "start": 1777904193621, "stop": 1777904193646}, {"name": "GraphQL: updateMemberStatus (dto-inline)", "status": "passed", "attachments": [{"name": "RuntimeError: updateMemberStatus", "source": "ec220dfa-ca34-45ec-8052-a3591db6bb67-attachment.txt", "type": "text/plain"}], "start": 1777904193646, "stop": 1777904193670}, {"name": "GraphQL: setMemberStatus (dto)", "status": "passed", "attachments": [{"name": "RuntimeError: setMemberStatus", "source": "1c6f6f4c-7389-439d-a358-58bca6f45305-attachment.txt", "type": "text/plain"}], "start": 1777904193670, "stop": 1777904193710}, {"name": "GraphQL: setMemberStatus (dto-inline)", "status": "passed", "attachments": [{"name": "RuntimeError: setMemberStatus", "source": "40fe4e4d-c16a-48fc-8f18-58b64eb79b11-attachment.txt", "type": "text/plain"}], "start": 1777904193710, "stop": 1777904193753}], "attachments": [{"name": "Member status update not supported on this stand", "source": "98acc3fb-bb4d-45af-883c-61a8132e1708-attachment.txt", "type": "text/plain"}], "start": 1777904187816, "stop": 1777904193754}, {"name": "When query members for prepared place", "status": "passed", "steps": [{"name": "GraphQL: members(filters.place_id)", "status": "passed", "attachments": [{"name": "members response", "source": "56d1463d-1885-4638-bd24-41794183250a-attachment.json", "type": "application/json"}], "start": 1777904193755, "stop": 1777904193792}], "start": 1777904193754, "stop": 1777904193792}, {"name": "Then members response contains trusted worker with accepted status", "status": "failed", "statusDetails": {"message": "AssertionError: Ожидали list в privileges, получили: None\n", "trace": " File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 76, in step_assert_trusted_worker_member\n td.assert_worker_member_trusted_and_accepted(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1098, in assert_worker_member_trusted_and_accepted\n assert isinstance(privileges, list), f\"Ожидали list в privileges, получили: {privileges!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n"}, "start": 1777904193792, "stop": 1777904193794}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904193794, "stop": 1777904193952}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904193952, "stop": 1777904194116}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904194116, "stop": 1777904194163}], "start": 1777904187668, "stop": 1777904194165, "uuid": "b7d2e5fd-a569-443c-9735-75054689fd58", "historyId": "470bc5c3f04104d6210dad598c3d8b54", "testCaseId": "88d4a632fd4c1dca4b66e061e420a233", "fullName": "Pass requests: addUserToPlace adds trusted member with accepted status", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}