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

Running pytest break the startup #26

Closed
LucBerge opened this issue Dec 17, 2022 · 0 comments
Closed

Running pytest break the startup #26

LucBerge opened this issue Dec 17, 2022 · 0 comments

Comments

@LucBerge
Copy link
Owner

On Windows and Linux, running pytest changes the entry point of the service file to pytest.
This is because in file test_website.py, line 52, the previous values is restored using the set_startup method which modifies the entry point.

It should be possible to retrieve the current entry point in the get_startup method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant