Skip to content

Commit

Permalink
Fix opensearch test
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Jun 13, 2024
1 parent db3c36a commit 74d24c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,11 @@ def test_push(self, abcd):

def test_delete(self, abcd):
"""Test deleting all documents from database."""
abcd.destroy()
abcd.create()
self.push_data(abcd)
self.push_data(abcd)
abcd.refresh()

assert abcd.count() == 2
abcd.delete()
Expand Down

0 comments on commit 74d24c7

Please sign in to comment.