def test_exclude_utt_arg_error(self): value = 12 model = Model() with self.assertRaises(QtArgumentError): model.exclude_utt_without_entities(value)
def test_exclude_utt(self): value = True model = Model() model.exclude_utt_without_entities(value) self.assertEqual(value, model.temp_dictionary["excludeUttWithoutEntities"])