fix: update test files to match actual backend schemas and endpoints

This commit is contained in:
2026-04-19 08:43:56 +03:00
parent bf24fb3ab7
commit 0c70e216e1
38 changed files with 2469 additions and 28 deletions

View File

@@ -46,15 +46,8 @@
"mcp__plugin_context-mode_context-mode__ctx_stats",
"mcp__plugin_context-mode_context-mode__ctx_execute_file",
"Bash(git checkout *)",
"Bash(python -m py_compile backend/tests/conftest.py)",
"Bash(python -m py_compile backend/tests/test_users.py)",
"Bash(python *)",
"Bash(python3.12 -m venv backend/venv)",
"Bash(backend/venv/bin/pip install *)",
"Bash(sudo apt-get *)",
"Bash(PYTHONPATH=/data/programare_AI/tfm_ainventory:/data/programare_AI/tfm_ainventory/backend backend/venv/bin/pytest backend/tests/test_items.py::TestItemCRUD::test_create_item -v)",
"Bash(PYTHONPATH=/data/programare_AI/tfm_ainventory:/data/programare_AI/tfm_ainventory/backend backend/venv/bin/pytest backend/tests/test_items.py::TestItemCRUD::test_create_item -vv)",
"Bash(git tag *)"
"Bash(git stash *)",
"Bash(python -m pytest backend/tests/ -v --tb=short)"
]
}
}