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

Enhancement: replace engine for tests #525

Open
Ilya-Green opened this issue Mar 14, 2024 · 0 comments
Open

Enhancement: replace engine for tests #525

Ilya-Green opened this issue Mar 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Ilya-Green
Copy link

Is your feature request related to a problem? Please describe.
I want to make tests for my app but i want to replace databse engine from main app class

Describe the solution you'd like
Is there any option to make pytest from admin class but set another databse to this class?

Describe alternatives you've considered
Rewriting and recreating a class in every test can take a very long time and may be not secure. Making any changes to the main application will require rewriting this every time in every test.

@Ilya-Green Ilya-Green added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant