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

Unified Diff: scripts/slave/unittests/annotated_run_test.py

Issue 1879173003: annotated_run: extract robust_tempdir so it can be shared with kitchen_run (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: review Created 4 years, 8 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 | « scripts/slave/robust_tempdir.py ('k') | scripts/slave/unittests/robust_tempdir_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/unittests/annotated_run_test.py
diff --git a/scripts/slave/unittests/annotated_run_test.py b/scripts/slave/unittests/annotated_run_test.py
index 9d61396655ff95239c8ed8e0bcfdea8eb5498464..143e3a4e20b878b46b934ec9d62810af7017b03c 100755
--- a/scripts/slave/unittests/annotated_run_test.py
+++ b/scripts/slave/unittests/annotated_run_test.py
@@ -24,6 +24,7 @@ from common import env
from slave import annotated_run
from slave import gce
from slave import infra_platform
+from slave import robust_tempdir
from slave import update_scripts
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -92,7 +93,7 @@ class _AnnotatedRunExecTestBase(unittest.TestCase):
mock.patch('os.environ', {}),
))
- self.rt = annotated_run.Runtime()
+ self.rt = robust_tempdir.RobustTempdir(prefix='annotated_run_test')
self.basedir = self.rt.tempdir()
self.tdir = self.rt.tempdir()
self.opts = MockOptions(
« no previous file with comments | « scripts/slave/robust_tempdir.py ('k') | scripts/slave/unittests/robust_tempdir_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698