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

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

Issue 2836043: Relocate library files for wider access and re-use; also associated cleanup. (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: patch typo Created 10 years, 6 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
Index: client/site_tests/factory_RebootStub/factory_RebootStub.py
diff --git a/client/site_tests/factory_RebootStub/factory_RebootStub.py b/client/site_tests/factory_RebootStub/factory_RebootStub.py
index 41f5fd3a20f0685e30a39d7823ca643eb4e03696..7f501ebefaf7d63bd343d65e06a81de38ef2b8c5 100644
--- a/client/site_tests/factory_RebootStub/factory_RebootStub.py
+++ b/client/site_tests/factory_RebootStub/factory_RebootStub.py
@@ -5,20 +5,17 @@
# DESCRIPTION :
#
-# This is an example factory test that does not really do anything --
-# it displays a message in the center of the testing area, as
-# communicated by arguments to run_once(). This test makes use of the
-# factory_test library to display its UI, and to monitor keyboard
-# events for test-switching triggers. This test can be terminated by
-# typing SHIFT-Q.
+# This is a stub factory test, run once reboot tests are completed, to
+# allow the autotest logs to record success status, and thereby for
+# the UI to display that status.
+
from autotest_lib.client.bin import test
-from autotest_lib.client.common_lib import error
-from autotest_lib.client.common_lib import factory_test
+from autotest_lib.client.bin import factory
class factory_RebootStub(test.test):
version = 1
def run_once(self):
- factory_test.XXX_log('factory_RebootStub')
+ factory.log('%s run_once' % self.__class__)
« no previous file with comments | « client/site_tests/factory_Keyboard/factory_Keyboard.py ('k') | client/site_tests/factory_ScriptWrapper/dummy.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698