def test_annotation_types_published_2(self): """ Tests inserting annotation types function with args.""" annotation_types = ["type_1", "type_2"] qrs.insert_dummy_annotationtypes(annotation_types) self.assertEqual(len(m.AnnotationType.objects( annotation_type=annotation_types[0])), 1)
def test_annotation_types_published_1(self): annotation_types = ["type_1", "type_2"] qrs.insert_dummy_annotationtypes(annotation_types) """ Tests inserting annotation types function with out args.""" self.assertNotEqual(len(m.AnnotationType.objects()), 0)