mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Make bootstrap test name / description more generic
This commit is contained in:
@@ -80,9 +80,9 @@ jobs:
|
|||||||
plugins test_simplest_plugin.py
|
plugins test_simplest_plugin.py
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run distro check test
|
name: Run bootstrap checks
|
||||||
command: |
|
command: |
|
||||||
py.test integration-tests/test_distro.py
|
py.test integration-tests/test_bootstrap.py
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
"""
|
"""
|
||||||
Test running on non-supported distros
|
Test running bootstrap script in different circumstances
|
||||||
"""
|
"""
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
def test_ubuntu_too_old():
|
def test_ubuntu_too_old():
|
||||||
|
"""
|
||||||
|
Error with a useful message when running in older Ubuntu
|
||||||
|
"""
|
||||||
container_name = 'old-distro-test'
|
container_name = 'old-distro-test'
|
||||||
|
|
||||||
# stop container if it is already running
|
# stop container if it is already running
|
||||||
Reference in New Issue
Block a user