Skip to content

Commit

Permalink
fix linting error in test_pgvector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kaischuygon committed Nov 30, 2023
1 parent ca24497 commit 2eb8a9d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/embedding/test_pgvector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
'''
Set up a mock Postgres instance with the following commands (make sure you don't have anything running on port 0.0.0.0:5432))):
- docker pull ankane/pgvector
- docker run --name mock-postgres -p 5432:5432 -e POSTGRES_USER=mock_user -e POSTGRES_PASSWORD=mock_password -e POSTGRES_DB=mock_db -d ankane/pgvector
Set up a mock Postgres instance with the following commands
(make sure you don't have anything running on port 0.0.0.0:5432))):
docker pull ankane/pgvector
docker run --name mock-postgres -p 5432:5432 \
-e POSTGRES_USER=mock_user -e POSTGRES_PASSWORD=mock_password -e POSTGRES_DB=mock_db \
-d ankane/pgvector
Then run the tests with:
pytest test
Expand Down

0 comments on commit 2eb8a9d

Please sign in to comment.