Skip to content

Commit aa28cb6

Browse files
committed
load plugin instead of importing
1 parent 2371d7b commit aa28cb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import jupyterhub
99
import netifaces
1010
import pytest
11-
from pytest_jupyterhub.jupyterhub_spawners import hub_app
11+
# from pytest_jupyterhub.jupyterhub_spawners import hub_app
1212
from docker import from_env as docker_from_env
1313
from docker.errors import APIError
1414
from jupyterhub import version_info as jh_version_info
@@ -22,6 +22,8 @@
2222
# make Hub connectable from docker by default
2323
# do this here because the `app` fixture has already loaded configuration
2424

25+
# Load pytest plugins
26+
pytest_plugins = "jupyterhub-spawners-plugin"
2527

2628
MockHub.hub_ip = "0.0.0.0"
2729

0 commit comments

Comments
 (0)