You can use `assertRaisesRegexp` to assert not just the error but what the error message actually is - pretty neat - eg
`lms/djangoapps/bulk_email/tests/test_err_handling.py:179:        
with self.assertRaisesRegexp(ValueError, "Course not found"):`