Build: #7 failed
Job: Pipeline PR Test 6.7.4 failed
unix seconds to datetime[inp0-expected0]: Test case result
The below summarizes the result of the test " unix seconds to datetime[inp0-expected0]" in build 7 of PIPESPECS - Pipeline Pull Request Test - PIPE-3073-prefect-workflow-task-adapter-and-tier0future-backend-improvement - Pipeline PR Test 6.7.4.
- Description
- unix seconds to datetime[inp0-expected0]
- Test class
- pipeline.infrastructure.utils.conversion_test
- Method
- test_unix_seconds_to_datetime[inp0-expected0]
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
NameError: name 'unix_seconds_to_datetime' is not defined
inp = [1, 1.5]
expected = [datetime.datetime(1970, 1, 1, 0, 0, 1, tzinfo=datetime.timezone.utc), datetime.datetime(1970, 1, 1, 0, 0, 1, 500000, tzinfo=datetime.timezone.utc)]
@pytest.mark.parametrize("inp, expected", [
([1, 1.5], [
datetime.datetime(1970, 1, 1, 0, 0, 1, tzinfo=UTC),
datetime.datetime(1970, 1, 1, 0, 0, 1, 500000, tzinfo=UTC),
]),
])
def test_unix_seconds_to_datetime(inp, expected):
"""Test unix_seconds_to_datetime()"""
> assert unix_seconds_to_datetime(inp) == expected
^^^^^^^^^^^^^^^^^^^^^^^^
E NameError: name 'unix_seconds_to_datetime' is not defined
infrastructure/utils/conversion_test.py:155: NameError