Add cheeps option to acloud
Also has some changes to get this to work with tradefed. Namely, we return
the report object from BaseAVDCreate.Create and also accept --build_id and
--build_target.
Updates pylintrc to ignore imports for duplicate-code
Bug: 123304336
Test: ./run_tests.sh
atest acloud_test
acloud create --config_file ~/dev/acloud.config -vv \
--build- id 5284144 --avd-type cheeps --branch pi-arc \
--autoconnect
Change-Id: Iaa8612c1fac46d748f303af2e7cfaefea8f7bf62
diff --git a/public/config_test.py b/public/config_test.py
index e6cf679..15e612f 100644
--- a/public/config_test.py
+++ b/public/config_test.py
@@ -70,6 +70,8 @@
stable_host_image_project: "fake_stable_host_image_project"
stable_goldfish_host_image_name: "fake_stable_goldfish_host_image_name"
stable_goldfish_host_image_project: "fake_stable_goldfish_host_image_project"
+ stable_cheeps_host_image_name: "fake_stable_cheeps_host_image_name"
+ stable_cheeps_host_image_project: "fake_stable_cheeps_host_image_project"
metadata_variable {
key: "metadata_1"
value: "metadata_value_1"
@@ -230,6 +232,12 @@
"fake_stable_goldfish_host_image_project")
self.assertEqual(cfg.emulator_build_target, "sdk_tools_linux")
+ # Cheeps related
+ self.assertEqual(cfg.default_usr_cfg.stable_cheeps_host_image_name,
+ "fake_stable_cheeps_host_image_name")
+ self.assertEqual(cfg.default_usr_cfg.stable_cheeps_host_image_project,
+ "fake_stable_cheeps_host_image_project")
+
# hw property
self.assertEqual(
{key: val for key, val in cfg.common_hw_property_map.iteritems()},