Is that an exception? If so, use assertRaises