Add the check for failed adding a path, because of path uniqueness.

This commit is contained in:
2023-11-06 20:13:21 +02:00
parent 9c88462bc0
commit e04b9894b9
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -22,3 +22,7 @@ def path_has_added(context):
assert context.path.path == context.path_str
assert context.exception_raised == False
@then('the exception should occur')
def path_has_not_added(context):
assert context.exception_raised == True