mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
ensure config_dir exists in unittests
This commit is contained in:
@@ -21,4 +21,5 @@ def tljh_dir(tmpdir):
|
|||||||
reload(mod)
|
reload(mod)
|
||||||
assert tljh.config.INSTALL_PREFIX == tljh_dir
|
assert tljh.config.INSTALL_PREFIX == tljh_dir
|
||||||
os.makedirs(tljh.config.STATE_DIR)
|
os.makedirs(tljh.config.STATE_DIR)
|
||||||
|
os.makedirs(tljh.config.CONFIG_DIR)
|
||||||
yield tljh_dir
|
yield tljh_dir
|
||||||
|
|||||||
Reference in New Issue
Block a user