Fastfill-test / code /fastfill /tests /test_embedded_contracts.py
XXXpilar's picture
FastFill v4 base (step 6552): LoRA adapter, geometry heads, tokenizer, training code, predict.py
e6f80f3 verified
Raw History Blame Contribute Delete
686 Bytes
"""Keep the existing synthetic geometry and evaluation contract checks in the normal test command."""
import runpy
import sys
import warnings
import pytest
@pytest.mark.parametrize("module", [
"fastfill.adapters.structured3d", "fastfill.adapters.hssd200",
"fastfill.adapters.multiscan", "fastfill.adapters.interiorgs",
"fastfill.evaluate", "fastfill.split", "fastfill.anchors",
])
def test_existing_contracts(module, monkeypatch):
monkeypatch.setattr(sys, "argv", [module])
with warnings.catch_warnings():
warnings.filterwarnings("ignore", message=".*found in sys.modules.*", category=RuntimeWarning)
runpy.run_module(module, run_name="__main__")