Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed Sep 16, 2024
1 parent 652caa4 commit c4e6cb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/src/jupyterhub_config/custom_spawner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c4e6cb3

Please sign in to comment.