throw error if inputs are passed #7
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / JUnit Test Report
failed
Oct 19, 2023 in 0s
12 tests run, 11 passed, 0 skipped, 1 failed.
Annotations
Check failure on line 17 in .mypy_cache/3.11/tests/test_ulid.data.json
github-actions / JUnit Test Report
test_ulid.test_transform_execution_with_inputs
ValueError: Plugin does not support processing input entities.
Raw output
def test_transform_execution_with_inputs():
"""Test Lifetime with sequence of inputs."""
> result = ULIDTransformPlugin().transform(
inputs=[["2000-05-22", "2021-12-12", "1904-02-29"]]
)
tests/test_ulid.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cmem_plugin_ulid.transform.ULIDTransformPlugin object at 0x7f965c087590>
inputs = [['2000-05-22', '2021-12-12', '1904-02-29']]
def transform(self, inputs: Sequence[Sequence[str]]) -> Sequence[str]:
if inputs:
> raise ValueError("Plugin does not support processing input entities.")
E ValueError: Plugin does not support processing input entities.
cmem_plugin_ulid/transform/__init__.py:45: ValueError
Loading