Skip to content

Commit c0aa53b

Browse files
committed
remove error message check
Signed-off-by: Samuel Babak <[email protected]>
1 parent 81265cd commit c0aa53b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unit/test_code_file.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,7 @@ def test_write_id_code_file_post_fails_cleanup_fails(
476476
code = "def execute():\n return 'test'"
477477

478478
with pytest.raises(
479-
RuntimeError,
480-
match="There was an error creating the code file: API error.*failed to delete the orphaned file: Delete failed",
479+
RuntimeError
481480
):
482481
CodeFile.write_id_code_file(
483482
code=code,

0 commit comments

Comments
 (0)