Skip to content

Conversation

@Binilkks
Copy link

Summary: Add focused unit tests for several low-coverage modules and apply two minimal source fixes so the test suite can be collected and run reliably in CI/local dev.
Why: Running pytest previously failed during collection due to a missing import and missing typing names; these prevented adding tests and measuring coverage. This PR adds tests and the smallest safe changes needed to run them.
What I changed (files):
Added tests:
test_mvc.py
test_facade.py
test_flyweight.py
test_delegation.py
pytest_local.ini (temporary local pytest config to avoid project-wide doctest addopts during targeted runs)
Small source fixes:
mvc.py — removed invalid top-level from ProductModel import Price (module did not exist; file defines its own Price class).
memento.py — added missing typing imports (Any, Type) to avoid NameError during collection.

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.

1 participant