Skip to content

Commit 2e40379

Browse files
committed
install package from PyPI and remove commented out code
1 parent 45fc57d commit 2e40379

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
docker
22
escapism
33
jupyterhub>=1.0
4-
pytest-jupyterhub @ git+https://github.com/jupyterhub/pytest-jupyterhub.git@main
4+
pytest-jupyterhub

tests/conftest.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import jupyterhub
99
import netifaces
1010
import pytest
11-
12-
# from pytest_jupyterhub.jupyterhub_spawners import hub_app
1311
from docker import from_env as docker_from_env
1412
from docker.errors import APIError
1513
from jupyterhub import version_info as jh_version_info
@@ -58,19 +56,6 @@ def pytest_collection_modifyitems(items):
5856
assert not inspect.isasyncgenfunction(item.obj)
5957

6058

61-
"""
62-
@pytest.fixture
63-
def app(jupyterhub_app):
64-
app = jupyterhub_app
65-
app.config.DockerSpawner.prefix = "dockerspawner-test"
66-
# If it's a prerelease e.g. (2, 0, 0, 'rc4', '') use full tag
67-
if len(jh_version_info) > 3 and jh_version_info[3]:
68-
tag = jupyterhub.__version__
69-
app.config.DockerSpawner.image = f"jupyterhub/singleuser:{tag}"
70-
return app
71-
"""
72-
73-
7459
@pytest.fixture
7560
async def app(hub_app):
7661
config = {"Dockerspawner": {"prefix": "dockerspawner-test"}}

0 commit comments

Comments
 (0)