Remove tempdir from RunCommandMock signature.

RunCommandMock does not need to be initialized with a tempdir - it can
create its own.

BUG=None
TEST=Unittests.

Change-Id: If060cf086ef8998ea6f4dc1a4478fcba892094c6
Reviewed-on: https://gerrit.chromium.org/gerrit/39144
Reviewed-by: David James <davidjames@chromium.org>
Commit-Ready: Ryan Cui <rcui@chromium.org>
Tested-by: Ryan Cui <rcui@chromium.org>
diff --git a/scripts/deploy_chrome_unittest.py b/scripts/deploy_chrome_unittest.py
index ab9cb6d..daabb8f 100755
--- a/scripts/deploy_chrome_unittest.py
+++ b/scripts/deploy_chrome_unittest.py
@@ -60,12 +60,12 @@
   ATTRS = ('_CheckRootfsWriteable', '_DisableRootfsVerification',
            '_KillProcsIfNeeded')
 
-  def __init__(self, tempdir, disable_ok=True):
+  def __init__(self, disable_ok=True):
     partial_mock.PartialMock.__init__(self)
     self.disable_ok = disable_ok
     self.rootfs_writeable = False
     # Target starts off as having rootfs verification enabled.
-    self.rsh_mock = remote_access_unittest.RemoteShMock(tempdir)
+    self.rsh_mock = remote_access_unittest.RemoteShMock()
     self.MockMountCmd(1)
 
   def MockMountCmd(self, returnvalue):
@@ -103,7 +103,7 @@
         options, self.tempdir, os.path.join(self.tempdir, 'staging'))
 
   def setUp(self):
-    self.deploy_mock = DeployChromeMock(self.tempdir)
+    self.deploy_mock = DeployChromeMock()
     self.deploy_mock.Start()
     self.deploy = self._GetDeployChrome()