Pytester calling pytest_configure hook a second time #8099
-
Hi, within the labgrid pytest plugin configure hook we recently introduced registration of a logging handler. The registration asserts when trying to register the same handler a second time, so we run into errors when the pytester plugin is used, see labgrid-project/labgrid#684. Is the Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
the hook is called exactly once per pytest configuration when doing in process testing with pytester multiple pytest configurations are set up and used for test execution |
Beta Was this translation helpful? Give feedback.
the hook is called exactly once per pytest configuration
when doing in process testing with pytester multiple pytest configurations are set up and used for test execution