Skip to content

Merge latest upstream changes #8

Merge latest upstream changes

Merge latest upstream changes #8

GitHub Actions / Example Pytest Report failed Nov 16, 2023 in 0s

3 tests run, 1 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 10 in test_results/python/test_sample.py

See this annotation in the file changed.

@github-actions github-actions / Example Pytest Report

test_sample.test_which_fails

AssertionError: assert 'test' == 'xyz'
  - xyz
  + test
Raw output
def test_which_fails():
        event = { 'attr': 'test'}
>       assert event['attr'] == 'xyz'
E       AssertionError: assert 'test' == 'xyz'
E         - xyz
E         + test

python/test_sample.py:10: AssertionError

Check failure on line 14 in test_results/python/test_sample.py

See this annotation in the file changed.

@github-actions github-actions / Example Pytest Report

test_sample.test_with_error

AttributeError: 'dict' object has no attribute 'attr'
Raw output
def test_with_error():
        event = { 'attr': 'test'}
>       assert event.attr == 'test'
E       AttributeError: 'dict' object has no attribute 'attr'

python/test_sample.py:14: AttributeError