Build: #1 failed
Job: Pipeline PR Test 6.6.6 failed
metadata repr: Test case result
The below summarizes the result of the test " metadata repr" in build 1 of Pipeline - Pipeline Pull Request Test - context-serializer - Pipeline PR Test 6.6.6.
- Description
- metadata repr
- Test class
- pipeline.infrastructure.serializers_test.TestResultMetadata
- Method
- test_metadata_repr
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
AssertionError: assert 'completed' in 'ResultMetadata(stage=0, task=hifa_flagdata, status=failed, duration=300.0s)'
self = <pipeline.infrastructure.serializers_test.TestResultMetadata testMethod=test_metadata_repr>
def test_metadata_repr(self):
"""Test string representation of metadata."""
result = self._create_mock_result(task_name='hifa_flagdata')
metadata = ResultMetadata.from_result(result)
repr_str = repr(metadata)
assert 'hifa_flagdata' in repr_str
> assert 'completed' in repr_str
E AssertionError: assert 'completed' in 'ResultMetadata(stage=0, task=hifa_flagdata, status=failed, duration=300.0s)'
infrastructure/serializers_test.py:142: AssertionError