def test_emulator_touch(system_mock, tmpdir): setup_emulator('aarch64', Path(str(tmpdir)))
def test_emulator_not_installed(system_mock, tmpdir): with pytest.raises(RuntimeError): setup_emulator('not-an-arch', Path(str(tmpdir)))