File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def test_term_info_deserialization_from_dict(self):
7070
7171 self .assertEqual (0 , len (terminfo .xrefs ))
7272
73- self .assertEqual ( 8 , len (terminfo .pub_syn ))
73+ self .assertGreaterEqual ( len (terminfo .pub_syn ), 8 )
7474
7575 # Check that we have the expected synonym labels (order-independent)
7676 synonym_labels = [entry .synonym .label for entry in terminfo .pub_syn ]
@@ -267,7 +267,7 @@ def test_term_info_serialization_neuron_class2(self):
267267 self .assertTrue ("Turner-Evans et al., 2020" in description )
268268
269269 self .assertTrue ("synonyms" in serialized )
270- self .assertEqual ( 10 , len (serialized ["synonyms" ]))
270+ self .assertGreaterEqual ( len (serialized ["synonyms" ]), 10 )
271271 print (serialized ["synonyms" ][0 ])
272272 self .assertTrue ("has_exact_synonym: EB-PB 1 glomerulus-D/Vgall neuron" in serialized ["synonyms" ])
273273 self .assertFalse ("source" in serialized )
You can’t perform that action at this time.
0 commit comments