summaryrefslogtreecommitdiff
path: root/cbuildbot/stages/generic_stages_unittest.py
diff options
context:
space:
mode:
authorYu-Ju Hong <yjhong@chromium.org>2014-11-14 15:40:59 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-18 03:32:48 +0000
commit0319aefac71e207305517cab67e68c6c4caa00bb (patch)
tree7ff8370180cda71ae93f4d8b3c3f40fd6a939795 /cbuildbot/stages/generic_stages_unittest.py
parent9754afd01fc06036b484ffcad2e90fa34d7368f5 (diff)
downloadchromite-0319aefac71e207305517cab67e68c6c4caa00bb.tar.gz
completion_stages_unittest: migrate from mox to mock
Also modify generic_stages_unittest.StageTest to inherit from cros_test_lib.TempDirTestCase. All cbuildbot stages unittests should be free from mox after this CL lands. BUG=chromium:430770 TEST=`cbuildbot/run_tests Change-Id: I430416752586e89b8ad2e13a3c9f45c5a8ba1758 Reviewed-on: https://chromium-review.googlesource.com/229923 Tested-by: Yu-Ju Hong <yjhong@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Yu-Ju Hong <yjhong@chromium.org>
Diffstat (limited to 'cbuildbot/stages/generic_stages_unittest.py')
-rwxr-xr-xcbuildbot/stages/generic_stages_unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbuildbot/stages/generic_stages_unittest.py b/cbuildbot/stages/generic_stages_unittest.py
index 61ad9b497..5ff3b3919 100755
--- a/cbuildbot/stages/generic_stages_unittest.py
+++ b/cbuildbot/stages/generic_stages_unittest.py
@@ -41,7 +41,7 @@ DEFAULT_BUILD_ID = 31337
# cleaning up the temporary directories.
# pylint: disable=E1111,E1120,W0212,R0901,R0904
class StageTest(cros_test_lib.MockOutputTestCase,
- cros_test_lib.MoxTempDirTestCase):
+ cros_test_lib.TempDirTestCase):
"""Test running a single stage in isolation."""
TARGET_MANIFEST_BRANCH = 'ooga_booga'