Skip to content

Commit d3e30f8

Browse files
committed
update tests: set default architecture in emulator helper for consistency
1 parent 3cb155c commit d3e30f8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/helpers/test_emulator_helper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
# Import and configure test_emulator_helper module
1414
import test_emulator_helper
1515

16-
# Set ANDROID_HOME for all tests
16+
# Set ANDROID_HOME and ARCHITECTURE for all tests
1717
test_emulator_helper.ANDROID_HOME = "/mock/android-sdk"
18+
test_emulator_helper.ARCHITECTURE = "arm64-v8a" # Default for tests
1819

1920

2021
class TestEmulatorHelper:
@@ -23,8 +24,9 @@ class TestEmulatorHelper:
2324
@pytest.fixture(autouse=True)
2425
def setup(self):
2526
"""Setup test environment."""
26-
# Ensure ANDROID_HOME is set for all tests
27+
# Ensure ANDROID_HOME and ARCHITECTURE are set for all tests
2728
test_emulator_helper.ANDROID_HOME = "/mock/android-sdk"
29+
test_emulator_helper.ARCHITECTURE = "arm64-v8a" # Default for tests
2830

2931
def test_create_avd_with_default_name(self):
3032
"""Test AVD creation with default naming."""

0 commit comments

Comments
 (0)