Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed Nov 11, 2023
1 parent 3b34b11 commit 83f0457
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/tests/unit_tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ def test_redis_url_set() -> None:
# Simplify the instructions for running the tests
"running. Then run the tests with `REDIS_URL=... make test`."
)
raise ValueError(os.environ["REDIS_URL"]) # Just for debugging
# Use database 3 for unit tests
# Poorman's convention for accidentally wiping out an actual database
# Should change ports in a bit and add a fake test password
assert os.environ["REDIS_URL"].endswith("/3")


def test_agent_executor() -> None:
Expand Down

0 comments on commit 83f0457

Please sign in to comment.