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

Add tests of command line functionality #165

Open
bdice opened this issue Dec 3, 2022 · 0 comments
Open

Add tests of command line functionality #165

bdice opened this issue Dec 3, 2022 · 0 comments

Comments

@bdice
Copy link
Member

bdice commented Dec 3, 2022

Tests are needed to cover options to the CLI run command like ./dashboard.py run --debug --host 0.0.0.0 --port 10099. Debug mode was broken and fixed in #152 but neither @cbkerr nor I could determine a good way to test the CLI, because it launches a server. I tried briefly using multiprocessing and failed. I also read a bit about Flask.test_cli_runner but that didn't seem like the right thing.

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