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 773eebc commit 731d3b8Copy full SHA for 731d3b8
tests/features/steps/1_setup.py
@@ -55,5 +55,5 @@ def create_document_reference_step(context: Context):
55
56
def clean_up_test_pointer(context: Context, doc_pointer: DocumentPointer):
57
"""Remove a pointer during cleanup without failing if it has already been deleted"""
58
- with suppress(Exception):
+ if context.repository.get_by_id(doc_pointer.id):
59
context.repository.delete(doc_pointer)
0 commit comments