From 40db5a832e006b5c5f196283bcd20de0bc677e80 Mon Sep 17 00:00:00 2001 From: Tom Ward Date: Wed, 3 Jul 2024 16:33:09 +0100 Subject: [PATCH] fixup! Implementing updating a file from the multiselect view --- tests/local_db/test_data_access.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/local_db/test_data_access.py b/tests/local_db/test_data_access.py index 72dcae63..35853d06 100644 --- a/tests/local_db/test_data_access.py +++ b/tests/local_db/test_data_access.py @@ -92,9 +92,8 @@ def test_delete_file_from_request_bad_state(): user=author, ) - # TODO this is pending RETURNED state? - # with pytest.raises(AssertionError): - # dal.delete_file_from_request(release_request.id, UrlPath("foo"), audit) + with pytest.raises(AssertionError): + dal.delete_file_from_request(release_request.id, UrlPath("foo"), audit) @pytest.mark.parametrize(