Merge "Replace deprecated function"
This commit is contained in:
commit
3f06f4b9d7
@ -82,9 +82,9 @@ class FlavorsV2NegativeTest(base.BaseV2ComputeTest):
|
||||
self.assertEqual(min_img_ram, image['min_ram'])
|
||||
|
||||
# Try to create server with flavor of insufficient ram size
|
||||
self.assertRaisesRegexp(lib_exc.BadRequest,
|
||||
"Flavor's memory is too small for "
|
||||
"requested image",
|
||||
self.create_test_server,
|
||||
image_id=image['id'],
|
||||
flavor=flavor['id'])
|
||||
self.assertRaisesRegex(lib_exc.BadRequest,
|
||||
"Flavor's memory is too small for "
|
||||
"requested image",
|
||||
self.create_test_server,
|
||||
image_id=image['id'],
|
||||
flavor=flavor['id'])
|
||||
|
Loading…
Reference in New Issue
Block a user