from pathlib import Path

import pytest

from tests import files_from_data_directory

current_dir = Path(__file__).parent
data_dir = current_dir / "data/sparql11_federated_spec_examples"


@pytest.mark.parametrize(
    "file",
    [
        *files_from_data_directory(
            data_dir,
        )
    ],
)
def test(file: str, test_roundtrip):
    test_roundtrip(file)
