2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-24 02:57:09 +00:00

29 lines
529 B
Python
Raw Normal View History

2018-07-27 10:18:29 -04:00
import pytest
@pytest.fixture(scope="session")
def shared_zone_test_context(request):
from shared_zone_test_context import SharedZoneTestContext
ctx = SharedZoneTestContext()
def fin():
ctx.tear_down()
request.addfinalizer(fin)
return ctx
@pytest.fixture(scope="session")
def zone_history_context(request):
from zone_history_context import ZoneHistoryContext
context = ZoneHistoryContext()
def fin():
context.tear_down()
request.addfinalizer(fin)
return context