Refactor attachment setters and add tests

This commit is contained in:
Montana
2019-02-06 08:55:46 -05:00
parent ce2b4b6ea1
commit 9182b1078c
3 changed files with 57 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ class TestDownloadCSPEstimate:
assert expected_contents == response.data
def test_download_without_attachment(self, client, user_session):
self.task_order.attachment_id = None
self.task_order.csp_attachment_id = None
user_session(self.user)
response = client.get(
url_for(