mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
add basic CLI and config file support
See `jupyterhub -h` for common shortcuts default config file: `jupyter_hub_config.py` generate config file with: `jupyterhub --generate-config` non-default config file: `jupyterhub -f myconfig.py`
This commit is contained in:
11
jupyterhub/tests/test_app.py
Normal file
11
jupyterhub/tests/test_app.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Test the JupyterHubApp entry point"""
|
||||
|
||||
import sys
|
||||
from subprocess import check_output
|
||||
|
||||
def test_help_all():
|
||||
out = check_output([sys.executable, '-m', 'jupyterhub', '--help-all']).decode('utf8', 'replace')
|
||||
assert u'--ip' in out
|
||||
assert u'--JupyterHubApp.ip' in out
|
||||
|
||||
|
Reference in New Issue
Block a user