From c4e6cb3460b35f1327bbb5606e7a7b82006de10b Mon Sep 17 00:00:00 2001 From: Tianhao-Gu Date: Mon, 16 Sep 2024 13:05:44 -0500 Subject: [PATCH] add test --- test/src/jupyterhub_config/custom_spawner_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/src/jupyterhub_config/custom_spawner_test.py b/test/src/jupyterhub_config/custom_spawner_test.py index 02b6bad..af35eba 100644 --- a/test/src/jupyterhub_config/custom_spawner_test.py +++ b/test/src/jupyterhub_config/custom_spawner_test.py @@ -201,6 +201,8 @@ def test_ensure_user_directory_reuse_existing(caplog): spawner = VirtualEnvSpawner() spawner._ensure_user_directory(user_dir, username) + assert user_dir.exists() + # Check log message assert f'Reusing user directory for {username}' in caplog.text