@@ -752,53 +752,53 @@ def get_object_tags():
752752
753753 @ddt .data (
754754 ("ChA" , [
755- "Archaea (used: 1, children: 2)" ,
756- " Euryarchaeida (used: 0, children: 0)" ,
757- " Proteoarchaeota (used: 0, children: 0)" ,
758- "Bacteria (used: 0, children: 1)" , # does not contain "cha" but a child does
759- " Archaebacteria (used: 1, children: 0)" ,
755+ "Archaea (children: 2)" ,
756+ " Euryarchaeida (children: 0)" ,
757+ " Proteoarchaeota (children: 0)" ,
758+ "Bacteria (children: 1)" , # does not contain "cha" but a child does
759+ " Archaebacteria (children: 0)" ,
760760 ]),
761761 ("ar" , [
762- "Archaea (used: 1, children: 2)" ,
763- " Euryarchaeida (used: 0, children: 0)" ,
764- " Proteoarchaeota (used: 0, children: 0)" ,
765- "Bacteria (used: 0, children: 1)" , # does not contain "ar" but a child does
766- " Archaebacteria (used: 1, children: 0)" ,
767- "Eukaryota (used: 0, children: 1)" ,
768- " Animalia (used: 1, children: 2)" , # does not contain "ar" but a child does
769- " Arthropoda (used: 1, children: 0)" ,
770- " Cnidaria (used: 0, children: 0)" ,
762+ "Archaea (children: 2)" ,
763+ " Euryarchaeida (children: 0)" ,
764+ " Proteoarchaeota (children: 0)" ,
765+ "Bacteria (children: 1)" , # does not contain "ar" but a child does
766+ " Archaebacteria (children: 0)" ,
767+ "Eukaryota (children: 1)" ,
768+ " Animalia (children: 2)" , # does not contain "ar" but a child does
769+ " Arthropoda (children: 0)" ,
770+ " Cnidaria (children: 0)" ,
771771 ]),
772772 ("aE" , [
773- "Archaea (used: 1, children: 2)" ,
774- " Euryarchaeida (used: 0, children: 0)" ,
775- " Proteoarchaeota (used: 0, children: 0)" ,
776- "Bacteria (used: 0, children: 1)" , # does not contain "ae" but a child does
777- " Archaebacteria (used: 1, children: 0)" ,
778- "Eukaryota (used: 0, children: 1)" , # does not contain "ae" but a child does
779- " Plantae (used: 1, children: 0)" ,
773+ "Archaea (children: 2)" ,
774+ " Euryarchaeida (children: 0)" ,
775+ " Proteoarchaeota (children: 0)" ,
776+ "Bacteria (children: 1)" , # does not contain "ae" but a child does
777+ " Archaebacteria (children: 0)" ,
778+ "Eukaryota (children: 1)" , # does not contain "ae" but a child does
779+ " Plantae (children: 0)" ,
780780 ]),
781781 ("a" , [
782- "Archaea (used: 1, children: 3)" ,
783- " DPANN (used: 0, children: 0)" ,
784- " Euryarchaeida (used: 0, children: 0)" ,
785- " Proteoarchaeota (used: 0, children: 0)" ,
786- "Bacteria (used: 0, children: 2)" ,
787- " Archaebacteria (used: 1, children: 0)" ,
788- " Eubacteria (used: 0, children: 0)" ,
789- "Eukaryota (used: 0, children: 4)" ,
790- " Animalia (used: 1, children: 7)" ,
791- " Arthropoda (used: 1, children: 0)" ,
792- " Chordata (used: 0, children: 1)" ,
793- " Mammalia (used: 0, children: 0)" ,
794- " Cnidaria (used: 0, children: 0)" ,
795- " Ctenophora (used: 0, children: 0)" ,
796- " Gastrotrich (used: 1, children: 0)" ,
797- " Placozoa (used: 1, children: 0)" ,
798- " Porifera (used: 0, children: 0)" ,
799- " Monera (used: 1, children: 0)" ,
800- " Plantae (used: 1, children: 0)" ,
801- " Protista (used: 0, children: 0)" ,
782+ "Archaea (children: 3)" ,
783+ " DPANN (children: 0)" ,
784+ " Euryarchaeida (children: 0)" ,
785+ " Proteoarchaeota (children: 0)" ,
786+ "Bacteria (children: 2)" ,
787+ " Archaebacteria (children: 0)" ,
788+ " Eubacteria (children: 0)" ,
789+ "Eukaryota (children: 4)" ,
790+ " Animalia (children: 7)" ,
791+ " Arthropoda (children: 0)" ,
792+ " Chordata (children: 1)" ,
793+ " Mammalia (children: 0)" ,
794+ " Cnidaria (children: 0)" ,
795+ " Ctenophora (children: 0)" ,
796+ " Gastrotrich (children: 0)" ,
797+ " Placozoa (children: 0)" ,
798+ " Porifera (children: 0)" ,
799+ " Monera (children: 0)" ,
800+ " Plantae (children: 0)" ,
801+ " Protista (children: 0)" ,
802802 ]),
803803 )
804804 @ddt .unpack
@@ -817,7 +817,7 @@ def test_autocomplete_tags_closed(self, search: str, expected: list[str]) -> Non
817817 _value = value ,
818818 ).save ()
819819
820- result = tagging_api .search_tags (closed_taxonomy , search , include_counts = True )
820+ result = tagging_api .search_tags (closed_taxonomy , search )
821821 assert pretty_format_tags (result , parent = False ) == expected
822822
823823 def test_autocomplete_tags_closed_omit_object (self ) -> None :
0 commit comments