michael@0: from b2g_update_test import B2GUpdateSmokeTestCase, OTA, FOTA michael@0: import os michael@0: michael@0: this_dir = os.path.dirname(__file__) michael@0: michael@0: class OTASameVersion(B2GUpdateSmokeTestCase): michael@0: JS_PATH = os.path.join(this_dir, "update_smoketest_ota_same_version.js") michael@0: START_WITH_BUILD = "finish" michael@0: APPLY = None michael@0: michael@0: def test_ota_same_version_complete(self): michael@0: self.stage_update(build="finish", mar="complete") michael@0: self.execute_smoketest() michael@0: michael@0: def test_ota_same_version_partial(self): michael@0: self.stage_update(build="finish", mar="partial") michael@0: self.execute_smoketest()