mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
test refactor: refactoring of .github/integration-test.py
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# Unit test some functions from bootstrap.py
|
||||
# Since bootstrap.py isn't part of the package, it's not automatically importable
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
|
||||
import pytest
|
||||
|
||||
# Since bootstrap.py isn't part of the package, it's not automatically importable
|
||||
GIT_REPO_PATH = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
sys.path.insert(0, GIT_REPO_PATH)
|
||||
from bootstrap import bootstrap
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user