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