JOJ3-config-generator/tests/example_test.py
张泊明518370910136 228488cbf2
All checks were successful
build / build (push) Successful in 1m5s
feat: repo & task config model
2024-10-20 01:54:55 -04:00

18 lines
475 B
Python

# from xxx import generate
from typing import Any
import pytest
@pytest.mark.xfail(strict=True)
def test_generate() -> None:
generate = lambda x: x # TODO: real generate function imported
data_input: dict[Any, Any] = {} # TODO: load real input from some file
data_output: dict[Any, Any] = generate(data_input)
expected_output: dict[Any, Any] = {
"a": "b"
} # TODO: load real output from some file
assert data_output == expected_output