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

Fix double logger adding #693

Closed

Conversation

lekcyjna123
Copy link
Contributor

I moved adding of our custom logger to "session" fixture, so there shouldn't be any more problems with duplicated logs. I tested it with command:

pytest -k FetchUnit_0 -s --log-level=debug

Resolves #675
Based on #573

@lekcyjna123 lekcyjna123 added the bug Something isn't working label May 3, 2024
@tilk
Copy link
Member

tilk commented May 3, 2024

You can't separate this change from #573?

@lekcyjna123
Copy link
Contributor Author

I can, but both edits the same part of code, so there will be conflict between them if this review will be based on master.

@tilk
Copy link
Member

tilk commented May 3, 2024

This seems to be a straightforward change, and it also fixes a very annoying bug, so it could be merged very quickly. Meanwhile #573 has now around 500 lines of code and a number of features besides the main one (the CAM), so I expect that PR to be reviewed after some time.

@lekcyjna123
Copy link
Contributor Author

Ok, I will prepare a separate change, but this would be probably in Sunday.

@lekcyjna123 lekcyjna123 closed this May 5, 2024
@lekcyjna123
Copy link
Contributor Author

I have created a version which is based on master. Please see #694

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

Successfully merging this pull request may close these issues.

pytest fixtures are executed multiple times
2 participants