Skip to content

Conversation

@IgorChvyrov-sm
Copy link
Contributor

@IgorChvyrov-sm IgorChvyrov-sm commented Jul 29, 2025

Changes:

Rewrote tests in the tests/serdesertest package to use pytest

Use native asserts instead of calling asserts from unittest.TestCase
Use pytest fixtures instead of unittest.TestCase setUp method
Use pytest-mock plugin instead of unittest.mock
Use pytest.raises for proper exception testing
Fixed ruff errors in the tests/serdesertest package

Reason:
Migrating from unittest to pytest for better readability, more concise test syntax and pytest powerful features.

@codecov
Copy link

codecov bot commented Jul 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 86 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IgorChvyrov-sm IgorChvyrov-sm merged commit ebd0057 into main Jul 30, 2025
2 checks passed
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.

3 participants