diff options
Diffstat (limited to 'client/tests/selftest/selftest.py')
-rw-r--r-- | client/tests/selftest/selftest.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/client/tests/selftest/selftest.py b/client/tests/selftest/selftest.py index 877c364d..1baecf9a 100644 --- a/client/tests/selftest/selftest.py +++ b/client/tests/selftest/selftest.py @@ -1,6 +1,7 @@ -import test -from autotest_utils import * -from common.error import * +import os +from autotest_lib.client.bin import test +from autotest_lib.client.common_lib import error + class selftest(test.test): version = 1 @@ -28,7 +29,7 @@ class selftest(test.test): print "checkpoint %d %d" % (current, checkpoint) if (current != checkpoint): - raise JobError("selftest: sequence was " + + raise error.JobError("selftest: sequence was " + "%d when %d expected" % (current, checkpoint)) def __throw(self): |