(self, cpu_cores, memory_mb, vm_name, ip)
| 21 | |
| 22 | class MockCreateVMAction(Action): |
| 23 | def run(self, cpu_cores, memory_mb, vm_name, ip): |
| 24 | eventlet.sleep(5) |
| 25 | |
| 26 | data = { |
| 27 | "vm_id": "vm" + str(random.randint(0, 10000)), |
| 28 | ip: {"cpu_cores": cpu_cores, "memory_mb": memory_mb, "vm_name": vm_name}, |
| 29 | } |
| 30 | |
| 31 | return data |
nothing calls this directly
no outgoing calls
no test coverage detected