(connection, service, calls, call_config)
| 57 | |
| 58 | |
| 59 | def insert_crashing_sequence(connection, service, calls, call_config): |
| 60 | service_id = interface_db.insert_update_service(connection, service) |
| 61 | crash_id = crash_db.insert_crash(connection, service_id) |
| 62 | for i, call in enumerate(calls): |
| 63 | call_id = crash_db.insert_call( |
| 64 | connection, service_id, crash_id, call.cmd_id, i, call_config.sleep |
| 65 | ) |
| 66 | for j, arg in enumerate(call.args): |
| 67 | crash_db.insert_callarg( |
| 68 | connection, |
| 69 | call_id, |
| 70 | j, |
| 71 | arg.argtype, |
| 72 | arg.get_db_data(), |
| 73 | arg.get_info(), |
| 74 | ) |
| 75 | |
| 76 | |
| 77 | def insert_update_service(connection, service): |
nothing calls this directly
no test coverage detected