Skip to content

Commit

Permalink
load plugin instead of importing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheila-nk committed Apr 5, 2023
1 parent 2371d7b commit aa28cb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import jupyterhub
import netifaces
import pytest
from pytest_jupyterhub.jupyterhub_spawners import hub_app
# from pytest_jupyterhub.jupyterhub_spawners import hub_app
from docker import from_env as docker_from_env
from docker.errors import APIError
from jupyterhub import version_info as jh_version_info
Expand All @@ -22,6 +22,8 @@
# make Hub connectable from docker by default
# do this here because the `app` fixture has already loaded configuration

# Load pytest plugins
pytest_plugins = "jupyterhub-spawners-plugin"

MockHub.hub_ip = "0.0.0.0"

Expand Down

0 comments on commit aa28cb6

Please sign in to comment.