Replies: 1 comment
-
You could add a new fixture that activates the tenant and returns it, e.g.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, I have a separate DB setup and just run pytest on a preexisting test DB. It'd be cool to be able to run tests on a completely transactional DB wth tenants being setup from zero. This would also make it easier to play nice with E2E tests with the frontend.
Are there any reference projects on how to setup the tenants?? the following gist isn't really useful as it runs on the main db instead of the test
Beta Was this translation helpful? Give feedback.
All reactions