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