summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2014-11-18 15:13:39 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-18 23:13:57 +0000
commit31280c10c2d724ae1844e7f68536ccd784bdb722 (patch)
tree7a6c05e0b50256057978b602670d3ceaaa51453a /build
parent702be2aae3c4b699bda81dd4ab73a8e8e6d299ea (diff)
downloadchromium_src-31280c10c2d724ae1844e7f68536ccd784bdb722.zip
chromium_src-31280c10c2d724ae1844e7f68536ccd784bdb722.tar.gz
chromium_src-31280c10c2d724ae1844e7f68536ccd784bdb722.tar.bz2
[Android] Fix uiautomator tests.
BUG=428729 NOTRY=true Review URL: https://codereview.chromium.org/725723003 Cr-Commit-Position: refs/heads/master@{#304692}
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/uiautomator/test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/pylib/uiautomator/test_runner.py b/build/android/pylib/uiautomator/test_runner.py
index c7239b4..b47a236 100644
--- a/build/android/pylib/uiautomator/test_runner.py
+++ b/build/android/pylib/uiautomator/test_runner.py
@@ -64,7 +64,7 @@ class TestRunner(instr_test_runner.TestRunner):
self.device.ClearApplicationState(self._package)
if self.flags:
annotations = self.test_pkg.GetTestAnnotations(test)
- if ('FirstRunExperience' == annotations(test).get('Feature', None)):
+ if ('FirstRunExperience' == annotations.get('Feature', None)):
self.flags.RemoveFlags(['--disable-fre'])
else:
self.flags.AddFlags(['--disable-fre'])