Skip to content
Snippets Groups Projects
Commit a14b80bc authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

rlib2: Improve test for _ParseInstanceReinstallRequest


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent f75ab789
No related merge requests found
...@@ -1320,6 +1320,9 @@ class TestParseInstanceReinstallRequest(testutils.GanetiTestCase): ...@@ -1320,6 +1320,9 @@ class TestParseInstanceReinstallRequest(testutils.GanetiTestCase):
self.assertEqual(ops[1].os_type, "linux1") self.assertEqual(ops[1].os_type, "linux1")
self.assertFalse(ops[1].osparams) self.assertFalse(ops[1].osparams)
def testErrors(self):
self.assertRaises(http.HttpBadRequest, self.Parse, "foo", "not a dictionary")
class TestGroupRename(unittest.TestCase): class TestGroupRename(unittest.TestCase):
def test(self): def test(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment