@@ -877,18 +877,66 @@ def test_37_consider(self) -> None:
877877
878878 def test_40_is_metadata_tag (self ) -> None :
879879 """Test the ``is_metadata_tag`` tag."""
880- td_true , td_false = self .assert_boolean_tag ("is_metadata_tag" , test_funowl = False )
880+ ref = Reference (prefix = "GO" , identifier = "0000001" )
881+ typedef = TypeDef (reference = ref , predicate_type = None )
882+ self .assert_obo_stanza (
883+ """\
884+ [Typedef]
885+ id: GO:0000001
886+ """ ,
887+ typedef ,
888+ )
889+ self .assert_funowl_lines (
890+ """
891+ Declaration(ObjectProperty(GO:0000001))
892+ """ ,
893+ typedef ,
894+ )
895+
896+ typedef = TypeDef (reference = ref , predicate_type = "annotation" )
897+ self .assert_obo_stanza (
898+ """\
899+ [Typedef]
900+ id: GO:0000001
901+ is_metadata_tag: true
902+ """ ,
903+ typedef ,
904+ )
881905 self .assert_funowl_lines (
882906 """
883907 Declaration(AnnotationProperty(GO:0000001))
884908 """ ,
885- td_true ,
909+ typedef ,
910+ )
911+
912+ typedef = TypeDef (reference = ref , predicate_type = "object" )
913+ self .assert_obo_stanza (
914+ """\
915+ [Typedef]
916+ id: GO:0000001
917+ """ ,
918+ typedef ,
886919 )
887920 self .assert_funowl_lines (
888921 """
889922 Declaration(ObjectProperty(GO:0000001))
890923 """ ,
891- td_false ,
924+ typedef ,
925+ )
926+
927+ typedef = TypeDef (reference = ref , predicate_type = "data" )
928+ self .assert_obo_stanza (
929+ """\
930+ [Typedef]
931+ id: GO:0000001
932+ """ ,
933+ typedef ,
934+ )
935+ self .assert_funowl_lines (
936+ """
937+ Declaration(DataProperty(GO:0000001))
938+ """ ,
939+ typedef ,
892940 )
893941
894942 def test_41_is_class_level (self ) -> None :
0 commit comments