New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 815014 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Rewrite mobmonitor test systeminfo_unittest.testBlockDevicesExisting

Project Member Reported by mattmallett@chromium.org, Feb 23 2018

Issue description

As a part of copying mobmonitor from chromite to platform/moblab, we are removing all dependencies on chromite. The test case systeminfo_unittest.testBlockDevicesExisting relies heavily on chromite.cros_build_lib_unittest.RunCommandMock and needs to be redesigned. I disabled the test case for now.

 
Summary: Rewrite mobmonitor test systeminfo_unittest.testBlockDevicesExisting (was: Rewrite systeminfo_unittest.testBlockDevicesExisting)
Status: Assigned (was: Untriaged)
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/moblab/+/17e5e59b0bc7cd7ad36b0e3ddcaf24e7855d65f6

commit 17e5e59b0bc7cd7ad36b0e3ddcaf24e7855d65f6
Author: Matt Mallett <mattmallett@chromium.org>
Date: Sat Apr 28 04:27:35 2018

[moblab] Fix systeminfo_unittest that depended on chromite

Cleaning up systeminfo_unittest.testBlockDevice. Previously
relied on chromite, and needed to be rewritten to use plain
mocks instead.

BUG= chromium:815014 
TEST=systeminfo_unittest.py

Change-Id: I7dfb4c4069b97a5c78a4f01705587407fd4c8b0a
Reviewed-on: https://chromium-review.googlesource.com/1033534
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>

[modify] https://crrev.com/17e5e59b0bc7cd7ad36b0e3ddcaf24e7855d65f6/src/mobmonitor/system/systeminfo_unittest.py

Status: Fixed (was: Assigned)

Sign in to add a comment