Replace deprecated function

assertRaisesRegexp is deprecated because in unittest version 3.2 was renamed
to assertRaisesRegex.

Change-Id: I0454200dc730fd4d3f0e1b234d48d8875c843fb6
Closes-Bug: #1683818
1 file changed