Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: client/site_tests/factory_Verify/factory_Verify.py

Issue 6633013: autotest/factoryVerify: fix variable binding issue (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/factory_Verify/factory_Verify.py
diff --git a/client/site_tests/factory_Verify/factory_Verify.py b/client/site_tests/factory_Verify/factory_Verify.py
index 2a6c62c416cef9b155045675099b68f755642436..f483d409a2f7fd9cbabff3321405be38bb69b2aa 100644
--- a/client/site_tests/factory_Verify/factory_Verify.py
+++ b/client/site_tests/factory_Verify/factory_Verify.py
@@ -32,11 +32,11 @@ class factory_Verify(test.test):
self.alert_bypassed("DEVELOPER SWITCH BUTTON")
return
- gpio = gpio.Gpio(error.TestFail)
- gpio.setup()
+ _gpio = gpio.Gpio(error.TestFail)
+ _gpio.setup()
property_name = 'developer_switch'
try:
- status_val = gpio.read(property_name)
+ status_val = _gpio.read(property_name)
except:
raise error.TestFail('Cannot read GPIO value: %s' % property_name)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698