Skip to content

Add pytest tests#14

Merged
v1tharr merged 7 commits into
devfrom
add-pytest-tests
Jul 9, 2026
Merged

Add pytest tests#14
v1tharr merged 7 commits into
devfrom
add-pytest-tests

Conversation

@Kazmech-cmd

Copy link
Copy Markdown
Member

Добавлены pytest-тесты для роутов /api/projects (GET/POST) — 10 тестов, покрывают создание, валидацию, список проектов. Плюс pytest.ini для удобного запуска (просто pytest без флагов).

Add pytest fixtures for testing Flask application with an in-memory SQLite database.
Removed unnecessary comments and adjusted import statements to comply with linting rules.
Removed Russian comments from test cases to improve code clarity.
Refactor the test app setup by removing unnecessary blank lines and ensuring proper formatting.
Added a newline at the end of the file for consistency.

@v1tharr v1tharr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

апрувт тестики

@v1tharr v1tharr merged commit 195f302 into dev Jul 9, 2026
1 check passed
@v1tharr v1tharr deleted the add-pytest-tests branch July 9, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants