Skip to content

Commit

Permalink
update tests for config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bigsk1 committed Jul 18, 2024
1 parent 84ebaa5 commit f076e51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SEARXNG_RESULTS=5

SEARXNG_URL=http://192.168.1.10:4000

TAVILY_API_KEY=
TAVILY_API_KEY=tvly-

CLAUDE_MODEL=claude-3-5-sonnet-20240620

Expand Down
8 changes: 8 additions & 0 deletions tests/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@ def test_import_shared_utils():
except ImportError:
pytest.fail("Failed to import shared_utils module")

def test_import_config():
try:
import config
assert True, "Import of config successful"
except ImportError:
pytest.fail("Failed to import config module")


# You can add more basic tests here as needed

0 comments on commit f076e51

Please sign in to comment.