Skip to content

Commit

Permalink
fix counts in testmodelhelpers
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCheema committed Dec 13, 2024
1 parent 342b5d8 commit b0e079b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_model_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def map_engine(engine):
expected_models_contains=["llama-3.2-1b", "llama-3.2-3b"],
min_count=5,
exact_count=None,
max_count=10
max_count=15
),
TestCase(
name="multiple_engines_or",
Expand All @@ -58,7 +58,7 @@ def map_engine(engine):
expected_models_contains=["llama-3.2-1b"],
min_count=5,
exact_count=None,
max_count=10
max_count=15
),
TestCase(
name="no_engines",
Expand Down Expand Up @@ -111,7 +111,7 @@ def _verify_results(self, case, result):

# Special case for distinct lists test
if case.name == "distinct_engine_lists":
self.assertLess(len(result), 10)
self.assertLess(len(result), 15)
self.assertNotIn("mistral-nemo", result)

if case.max_count:
Expand Down

0 comments on commit b0e079b

Please sign in to comment.