

def insert_execution_data(self, execution_query_payload):
    ' Inserts an execution into the database.\n            Returns the execution guid. '
    query = 'INSERT INTO execution\n                   (guid, executionStart, totalExecutionTime, username)\n                   VALUES (%(guid)s,%(execution_start_time)s,\n                           %(total_execution_time)s,%(username)s)'
    DatabaseManager(self.database_env).execute_query_and_close(query, execution_query_payload.get_params())
    return execution_query_payload.guid

dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/core/testcase_manager.py TestcaseManager.insert_execution_data/original