Skip to content

test: add import smoke test for package importability - #167

Merged
boscorat merged 1 commit into
masterfrom
test/import-smoke-test
Aug 6, 2026
Merged

test: add import smoke test for package importability#167
boscorat merged 1 commit into
masterfrom
test/import-smoke-test

Conversation

@boscorat

@boscorat boscorat commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a smoke test that verifies import bank_statement_parser succeeds. This catches SyntaxErrors, circular imports, and missing dependencies at test time rather than at downstream consumer import time.

Motivation

The indentation bug in anonymise.py (fixed in #166) went undetected because no test verified the package is importable. This test prevents regressions of that class.

Testing

  • ruff check and ruff format --check pass

Verifies that 'import bank_statement_parser' succeeds without
SyntaxErrors, circular imports, or missing dependencies.
@boscorat
boscorat merged commit f1ce9f6 into master Aug 6, 2026
3 of 5 checks passed
@boscorat
boscorat deleted the test/import-smoke-test branch August 6, 2026 08:40
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