summaryrefslogtreecommitdiff
path: root/cli/flash_unittest.py
diff options
context:
space:
mode:
authorDon Garrett <dgarrett@google.com>2015-10-09 13:27:44 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-13 05:28:44 -0700
commit4c2b917d07039d5d023b843d8357b6dd525b8f47 (patch)
tree3c32eac29c7b92109b890834ffc656c4b83836cf /cli/flash_unittest.py
parentc0c7400713f66a79f15a65f98aa347e7b2cc89d7 (diff)
downloadchromite-4c2b917d07039d5d023b843d8357b6dd525b8f47.tar.gz
workspace_lib: Remove this library.
This library partially implemented the Chrome OS Brillo concept of a workspace. That concept is no longer relevant, so remove the library. Update assorted users, removing the concept of workspace where it seems appropriate. BUG=chromium:530677 TEST=run_tests Change-Id: Icb43d24428f3c35e89e6c90325cbd03382670ffd Reviewed-on: https://chromium-review.googlesource.com/305025 Commit-Ready: Don Garrett <dgarrett@chromium.org> Tested-by: Don Garrett <dgarrett@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org>
Diffstat (limited to 'cli/flash_unittest.py')
-rw-r--r--cli/flash_unittest.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/flash_unittest.py b/cli/flash_unittest.py
index 2a7a86866..7a18d4f65 100644
--- a/cli/flash_unittest.py
+++ b/cli/flash_unittest.py
@@ -19,7 +19,6 @@ from chromite.lib import dev_server_wrapper
from chromite.lib import osutils
from chromite.lib import partial_mock
from chromite.lib import remote_access
-from chromite.lib import workspace_lib
class RemoteDeviceUpdaterMock(partial_mock.PartialCmdMock):
@@ -62,7 +61,6 @@ class RemoteDeviceUpdaterTest(cros_test_lib.MockTempDirTestCase):
self.PatchObject(dev_server_wrapper, 'GetUpdatePayloads')
self.PatchObject(remote_access, 'CHECK_INTERVAL', new=0)
self.PatchObject(remote_access, 'ChromiumOSDevice')
- self.PatchObject(workspace_lib, 'WorkspacePath', return_value=None)
def testUpdateAll(self):
"""Tests that update methods are called correctly."""
@@ -141,7 +139,6 @@ class USBImagerTest(cros_test_lib.MockTempDirTestCase):
self.PatchObject(os.path, 'exists', return_value=True)
self.isgpt_mock = self.PatchObject(flash, '_IsFilePathGPTDiskImage',
return_value=True)
- self.PatchObject(workspace_lib, 'WorkspacePath', return_value=None)
def testLocalImagePathCopy(self):
"""Tests that imaging methods are called correctly."""