def _execute(self, results: TestResultSet) -> Generator[(events.ExecutionEvent, None, None)]:
    auth = get_requests_auth(self.auth, self.auth_type)
    with get_session(auth, self.headers) as session:
        for (endpoint, test) in self.schema.get_all_tests(network_test, self.hypothesis_settings, self.seed):
            for event in run_test(self.schema, endpoint, test, self.checks, results, session=session, request_timeout=self.request_timeout):
                (yield event)
                if isinstance(event, events.Interrupted):
                    return
def _execute(self, results: TestResultSet) -> Generator[(events.ExecutionEvent, None, None)]:
    auth = get_requests_auth(self.auth, self.auth_type)
    with get_session(auth, self.headers) as session:
        for (endpoint, test) in self.schema.get_all_tests(network_test, self.hypothesis_settings, self.seed):
            for event in run_test(self.schema, endpoint, test, self.checks, results, session=session, request_timeout=self.request_timeout):
                (yield event)
                if isinstance(event, events.Interrupted):
                    return