code: def _pending_of(self, workload):
          
          pending = sum(list(scope.values()).count(False) for scope in workload.values())
          return pending
docs: Return the number of pending tests in a workload.