Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Jul 1, 2024
1 parent a051717 commit bd2ae99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wren-ai-service/tests/pytest/providers/test_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def test_import_mods():
loader.import_mods("src.providers")
assert len(loader.PROVIDERS) == 6
assert len(loader.PROVIDERS) == 7


def test_get_provider():
Expand All @@ -29,3 +29,6 @@ def test_get_provider():

provider = loader.get_provider("wren-ibis")
assert provider.__name__ == "WrenIbis"

provider = loader.get_provider("wren-engine")
assert provider.__name__ == "WrenEngine"

0 comments on commit bd2ae99

Please sign in to comment.