"""Run the existing source-safety contract against the strengthened round4 guard."""
import importlib.util
from pathlib import Path

from pallet.pallet_description_round4_guard import ContentSourceGuard

spec=importlib.util.spec_from_file_location('_round4_guard_contract',Path(__file__).with_name('test_mask_taxonomy_source_guard.py'))
contract=importlib.util.module_from_spec(spec);spec.loader.exec_module(contract)
contract.SourceGuard=ContentSourceGuard
fixture=contract.fixture
for name in dir(contract):
    if name.startswith('test_'):globals()[name]=getattr(contract,name)
