self.assertEqual("Specified activity is not going to permitted status: ('0', '200') -> 'prescheduled' not in ['opened', 'approved']",exception.exception.message)
self.assertEqual("Specified activity is not going to permitted status: ('0', '200') -> 'prescheduled' not in ['opened', 'approved']",str(exception.exception))