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

Global Logger File Causing Unit Test Failures #291

Closed
esharnow opened this issue Oct 29, 2024 · 1 comment
Closed

Global Logger File Causing Unit Test Failures #291

esharnow opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@esharnow
Copy link
Contributor

🐛 Bug Report

The tests for the robot module fail when run after the tests for the logging module. The tests fail, because the logger debug and error statements in the robot module tests are not being written to a logger file. However, the robot module tests pass when run before the logging module tests. We believe this may be due to changing the global logger file name in one of the logging module tests.

The unit tests can be found in my forked repository.

@esharnow esharnow added the bug Something isn't working label Oct 29, 2024
@esharnow
Copy link
Contributor Author

esharnow commented Nov 3, 2024

Closing issue, because it had to do with problem with mocking in test files and not an issue with the logging module itself

@esharnow esharnow closed this as completed Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants