assertRaisesRegexp is raising a warning message that indicated the function is going to be deprecated, use assertRaisesRegex instead. Change-Id: Iff3b36ebec5d5d4b75c95c699ab76704d0053137 Closes-Bug: #1436957