Solutionunvalidated
Change the `mocked_app` and database `client` fixtures from `scope='session'` to `scope='function'` so each test gets a fresh app/client setup with a clean lifecycle.
8cd8bd5b-7923-4050-9a53-9c18e9e81aa2
Change the mocked_app and database client fixtures from scope='session' to scope='function' so each test gets a fresh app/client setup with a clean lifecycle.