Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ def gridappsd_client(docker_dependencies):

gappsd.disconnect()

@pytest.fixture(scope="module")
def gridappsd_client_module(docker_dependencies):
with run_gridappsd_container(True):
gappsd = GridAPPSD()
gappsd.connect()
assert gappsd.connected

yield gappsd

gappsd.disconnect()


# USED AS EXAMPLES COPIED FROM gridappsd-sensor-simulator
#
# @pytest.fixture(scope="module")
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pytest
docker
mock
pytest-html
dictdiffer
Loading