From 5c28db960087ddb282a13e4dd2c3a3dd5c4cc207 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Mon, 6 Apr 2026 09:56:19 +0200 Subject: Add aliases --- tests/test_network_gemini_ontology.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_network_gemini_ontology.py b/tests/test_network_gemini_ontology.py index 4a9db34..2a84909 100644 --- a/tests/test_network_gemini_ontology.py +++ b/tests/test_network_gemini_ontology.py @@ -21,7 +21,7 @@ PROMPT = ( aliases and synonyms as well as gene names. Each term should be 1-3 words (max). Give me a list of at least 20, but no more than 80, most used terms. Return only the terms, one per line, no - numbering.""" + numbering. Add abbreviations and aliases as a list with each term, separated by commas""" ) class TestGeminiOntology(unittest.TestCase): @@ -40,8 +40,6 @@ class TestGeminiOntology(unittest.TestCase): f"Expected at most 80 terms, got {len(terms)}") # Each term should be short (1-3 words, allow some slack) long_terms = [t for t in terms if len(t.split()) > 5] - self.assertEqual(len(long_terms), 0, - f"Terms too long: {long_terms}") def test_2_cached_ontology(self): """Second call should use cache and be fast.""" -- cgit 1.4.1