We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ea9c3 commit 233b981Copy full SHA for 233b981
tests/conftest.py
@@ -34,10 +34,13 @@ def clear_indexes(client):
34
@fixture(autouse=True)
35
def clear_webhooks(client):
36
"""
37
- Auto-clears the web hooks after each test function run.
+ Auto-clears the webhooks after each test function run.
38
Makes all the test functions independent.
39
40
- # Deletes all the indexes in the Meilisearch instance.
+ # Yields back to the test function.
41
+
42
+ yield
43
+ # Deletes all the webhooks in the Meilisearch instance.
44
webhooks = client.get_webhooks()
45
for webhook in webhooks.results:
46
client.delete_webhook(webhook.uuid)
0 commit comments