mirror of
https://github.com/hanzoui/pyisolate.git
synced 2026-10-30 20:37:17 +00:00
15 lines
265 B
Python
15 lines
265 B
Python
import pytest
|
|
|
|
from tests.harness.host import ReferenceHost
|
|
|
|
|
|
@pytest.fixture
|
|
async def reference_host():
|
|
"""Provides a ReferenceHost instance."""
|
|
host = ReferenceHost()
|
|
host.setup()
|
|
try:
|
|
yield host
|
|
finally:
|
|
await host.cleanup()
|