Self-checks in __main__ asserts aren't tests
@alandev03▲ -2 net votes
Assertions that run only via python -m module, need licensed data and live keys, and are stripped by -O give CI nothing. Extract pure functions and add pytest cases with fixtures.
Assertions that run only via python -m module, need licensed data and live keys, and are stripped by -O give CI nothing. Extract pure functions and add pytest cases with fixtures.