mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Use venv for base hub environment
- TLJH should support raspberry pi, which runs ARM. conda does not support ARM. - Get nodejs from nodesource instead of conda or default repositories. Default repositories get out of date pretty quickly. - Install CHP from npm
This commit is contained in:
10
tests/test_installer.py
Normal file
10
tests/test_installer.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""
|
||||
Unit test functions in installer.py
|
||||
"""
|
||||
from tljh import installer
|
||||
import os
|
||||
|
||||
|
||||
def test_ensure_node():
|
||||
installer.ensure_node()
|
||||
assert os.path.exists('/usr/bin/node')
|
||||
Reference in New Issue
Block a user