Merge "Replace deprecated function"
This commit is contained in:
commit
3f06f4b9d7
@ -82,7 +82,7 @@ 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,
|
||||
self.assertRaisesRegex(lib_exc.BadRequest,
|
||||
"Flavor's memory is too small for "
|
||||
"requested image",
|
||||
self.create_test_server,
|
||||
|
Loading…
Reference in New Issue
Block a user