Category "fixtures"

How can I skip authentication in a single test with a fixture in Fast API together with pytest?

I have built authentication similar to what is described in the documentation. So I have this dependency copied from there: async def get_current_user(token: st

Why cant unittest.TestCases see my py.test fixtures?

I'm trying to use py.test's fixtures with my unit tests, in conjunction with unittest. I've put several fixtures in a conftest.py file at the top level of the p

Is it possible to initialize the fixture only once and use it in multiple test cases?

Is it possible to have the fixture initialized only once and use it in multiple test cases within the same test suite? In the following example, fixture is cons