Skip to content

Commit

Permalink
fix(refactor): specifying error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertSnows committed Apr 1, 2024
1 parent 97f2fa3 commit 8a3975c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_file_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def test_write_to_file_or_log_error_succeeds(tmpdir):

def test_write_to_file_or_log_error_fails():
""" Tests that write_submission_order_to_file fails when the directory does not exist"""
with pytest.raises(Exception):
with pytest.raises(IOError):
write_submission_order_to_file(example_submission_order, "/test-path")

0 comments on commit 8a3975c

Please sign in to comment.