Untitled

 avatar
unknown
plain_text
a year ago
601 B
5
Indexable

test_insider_careers.py:8 (TestInsiderCareers.test_careers_page)
base_test.py:19: in tearDown
    if self._test_has_failed():
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test_insider_careers.TestInsiderCareers testMethod=test_careers_page>

    def _test_has_failed(self):
        """Check if the current test has failed."""
>       return any(self._outcome.results.get(test, (None, None))[1] for test in self._outcome.results)
E       AttributeError: '_Outcome' object has no attribute 'results'. Did you mean: 'result'?

base_test.py:33: AttributeError
Editor is loading...
Leave a Comment