Index: chrome/test/chromedriver/test/run_py_tests.py |
diff --git a/chrome/test/chromedriver/test/run_py_tests.py b/chrome/test/chromedriver/test/run_py_tests.py |
index 33a73191b36ba684df1f791802e8e9fa329a2cff..71b225a8b60b2bd336165cc2d2132ec836cc90e7 100755 |
--- a/chrome/test/chromedriver/test/run_py_tests.py |
+++ b/chrome/test/chromedriver/test/run_py_tests.py |
@@ -735,8 +735,9 @@ class ChromeDriverAndroidTest(ChromeDriverBaseTest): |
for v in l['versions']: |
if (('stable' in v['channel'] and 'stable' in _ANDROID_PACKAGE_KEY) or |
('beta' in v['channel'] and 'beta' in _ANDROID_PACKAGE_KEY)): |
- self.assertEquals(v['version'], |
- self._driver.capabilities['version']) |
+ omaha = map(int, v['version'].split('.')) |
+ device = map(int, self._driver.capabilities['version'].split('.')) |
+ self.assertTrue(omaha <= device) |
return |
raise RuntimeError('Malformed omaha JSON') |
except urllib2.URLError as e: |