

def update_execution_data(self, execution_guid, execution_time):
    'updates an existing execution in the database'
    query = 'UPDATE execution\n                   SET totalExecutionTime=%(execution_time)s\n                   WHERE guid=%(execution_guid)s '
    DatabaseManager(self.database_env).execute_query_and_close(query, {
        'execution_guid': execution_guid,
        'execution_time': execution_time,
    })

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