Replace try/except/else with self.assertRaises.

Blueprint update-expected-exception-tests.

Change-Id: Ic118c1d5006e3a1b588d1b74c92041ab5a610581