Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PhilippeTh
Copy link
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.

setup.py Show resolved Hide resolved
@PhilippeTh PhilippeTh force-pushed the unittest_add_tests_logger branch from d0648e3 to 8f93800 Compare August 5, 2022 18:46
@PhilippeTh
Copy link
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