Skip to content

Added checks for loggers and repr + updated setup.py test commands - #147

Open
PhilippeTh wants to merge 1 commit into
ECCC-MSC:masterfrom
PhilippeTh:unittest_add_tests_logger
Open

Added checks for loggers and repr + updated setup.py test commands#147
PhilippeTh wants to merge 1 commit into
ECCC-MSC:masterfrom
PhilippeTh:unittest_add_tests_logger

Conversation

@PhilippeTh

Copy link
Copy Markdown
Contributor

Added last little checks. Checked the __repr__ functions, added checks for warning and error loggers to see that they were called. Not the message it is sending, simply whether the LOGGER.warning or LOGGER.error is called, as I believed the message itself might be subject to change (although quite easy to add if we ever feel the need to). LOGGER.debug weren't asserted as they seemed less important. Finally, setup.py was changed so the python setupy.py test and python setupy.py coverage commands work.

Comment thread setup.py
@PhilippeTh
PhilippeTh force-pushed the unittest_add_tests_logger branch from d0648e3 to 8f93800 Compare August 5, 2022 18:46
@PhilippeTh

Copy link
Copy Markdown
Contributor Author

@tomkralidis Done!

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