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

Remove serve_once and deamon-specific options from utils.py #102

Merged
merged 6 commits into from
Apr 25, 2021

Conversation

domenukk
Copy link
Member

Currently, utils.py has some fancy features nobody ended up using.
Especially, serve_once should be removed - it opens a webpage that can be used be exactly once.
I don't think we have checkers that use it, and as far as servers go, we moved to flask a long time ago.

def serve_once(

On top, deamonize can be dropped, as it's no longer hard to do on python3 (and should be avoided in checkers at all cost)

@domenukk
Copy link
Member Author

So, the serve_once fn actually did get used in a testcase...
Maybe should we move it to ./tests instead?

@ldruschk
Copy link
Member

I am not sure how essential we deem the removed test case, so we might want to recreate those using a different server, but we could probably do that after the PR is merged

@ldruschk ldruschk merged commit d4bf7ae into main Apr 25, 2021
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

Successfully merging this pull request may close these issues.

2 participants