============================= test session starts ============================= platform win32 -- Python 3.12.10, pytest-7.4.3, pluggy-1.6.0 rootdir: C:\Users\mclou\temp_compare_rateright\-RateRight configfile: pytest.ini testpaths: tests plugins: anyio-4.10.0, cov-4.1.0, flask-1.3.0 collected 161 items / 4 errors / 3 deselected / 158 selected =================================== ERRORS ==================================== ________________ ERROR collecting tests/test_full_workflow.py _________________ ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\runner.py:341: in from_call result: Optional[TResult] = func() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:531: in collect self._inject_setup_module_fixture() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:310: in obj self._obj = obj = self._getobj() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:528: in _getobj return self._importtestmodule() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\pathlib.py:567: in import_path importlib.import_module(module_name) ..\..\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\assertion\rewrite.py:186: in exec_module exec(co, module.__dict__) tests\test_full_workflow.py:17: in print(f" Status: {contract.status}") E AttributeError: 'NoneType' object has no attribute 'status' ------------------------------- Captured stdout ------------------------------- ==================================================\nCOMPLETE WORKFLOW TEST - CONTRACT 5\n==================================================\n\n\u2705 Step 1: Worker marked complete ________________ ERROR collecting tests/test_login_and_rate.py ________________ ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\runner.py:341: in from_call result: Optional[TResult] = func() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:531: in collect self._inject_setup_module_fixture() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:310: in obj self._obj = obj = self._getobj() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:528: in _getobj return self._importtestmodule() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\pathlib.py:567: in import_path importlib.import_module(module_name) ..\..\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\assertion\rewrite.py:186: in exec_module exec(co, module.__dict__) tests\test_login_and_rate.py:15: in email = input("\nEnter email to test with: ").strip() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\capture.py:202: in read raise OSError( E OSError: pytest: reading from stdin while output is captured! Consider using `-s`. ------------------------------- Captured stdout ------------------------------- Testing login and rating flow... Available users: 1. rocky.mcloughlin@gmail.com (Worker) 2. mcloughlinmichael.r@gmail.com (Contractor) Enter email to test with: _____________ ERROR collecting tests/test_rateright_live_site.py ______________ ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\pathlib.py:567: in import_path importlib.import_module(module_name) ..\..\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\assertion\rewrite.py:177: in exec_module source_stat, co = _rewrite_test(fn, self.config) ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\assertion\rewrite.py:359: in _rewrite_test tree = ast.parse(source, filename=strfn) ..\..\AppData\Local\Programs\Python\Python312\Lib\ast.py:52: in parse return compile(source, filename, mode, flags, E File "C:\Users\mclou\temp_compare_rateright\-RateRight\tests\test_rateright_live_site.py", line 100 E E ^ E SyntaxError: expected 'except' or 'finally' block _______________ ERROR collecting tests/test_rating_workflow.py ________________ ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\runner.py:341: in from_call result: Optional[TResult] = func() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:531: in collect self._inject_setup_module_fixture() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:310: in obj self._obj = obj = self._getobj() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:528: in _getobj return self._importtestmodule() ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\pathlib.py:567: in import_path importlib.import_module(module_name) ..\..\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? ..\..\AppData\Local\Programs\Python\Python312\Lib\site-packages\_pytest\assertion\rewrite.py:186: in exec_module exec(co, module.__dict__) tests\test_rating_workflow.py:14: in print(f"Testing Contract {contract.id}:") E AttributeError: 'NoneType' object has no attribute 'id' ------------------------------- Captured stdout ------------------------------- === RATING WORKFLOW TEST === =========================== short test summary info =========================== ERROR tests/test_full_workflow.py - AttributeError: 'NoneType' object has no ... ERROR tests/test_login_and_rate.py - OSError: pytest: reading from stdin whil... ERROR tests/test_rateright_live_site.py ERROR tests/test_rating_workflow.py - AttributeError: 'NoneType' object has n... !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!! ================= 3 deselected, 6 warnings, 4 errors in 1.58s =================