this reverts
9639acfefe09c87adc821bb5c5cc41974685331d, as the test does
make sense. what fails this test is the machinary to marshal/unmarshal
exception fails to handle un-picklable exceptions. the previous commit
is supposed to use a fallback to handle them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
res = self._orch_cmd_result("osd", "create", "-i", "-", stdin=json.dumps(drive_groups))
self.assertEqual(res, 0)
- #with self.assertRaises(Exception):
- # self._orch_cmd("osd", "create", "notfound:device")
+ with self.assertRaises(Exception):
+ self._orch_cmd("osd", "create", "notfound:device")
def test_blink_device_light(self):
def _ls_lights(what):