Skip to content

Commit

Permalink
remove delete
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Apr 27, 2024
1 parent 5e06cd1 commit c4dd453
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- name: Pytest
env:
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
make test
- name: Upload coverage to Codecov
Expand Down
6 changes: 0 additions & 6 deletions tests/unit/test_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ def test_query_filter_pinecone(self, openai_encoder, routes, index_cls):
except ValueError:
assert True

# delete index
pineconeindex.delete_index()

assert query_result in ["Route 1"]

def test_namespace_pinecone_index(self, openai_encoder, routes, index_cls):
Expand All @@ -307,9 +304,6 @@ def test_namespace_pinecone_index(self, openai_encoder, routes, index_cls):
except ValueError:
assert True

# delete index
pineconeindex.delete_index()

assert query_result in ["Route 1"]

def test_query_with_no_index(self, openai_encoder, index_cls):
Expand Down

0 comments on commit c4dd453

Please sign in to comment.