extension/reviewbotext/tests/test_worker_status_view.py (Diff revision 1)Show all issues
Review Request #12093 — Created Feb. 28, 2022 and submitted
Review Bot expected that all workers would respond with a successful
state, and if that didn't occur, the extension would crash retrieving
Now, the worker looks for error payloads and returns an error state if
any hosts reported an error or did not report a status.
Manually tested with a failed worker.
Unit tests pass.
F401 'reviewbotext.views.WorkerStatusView' imported but unused
Removed an unused import.
Revision 2 (+548 -20)