Tests on analysis and compensation

* enhances tests for analysis and compensation app
This commit is contained in:
2023-08-17 12:59:50 +02:00
parent b854695399
commit 1047a5f119
5 changed files with 16 additions and 5 deletions

View File

@@ -244,6 +244,7 @@ class CompensationWorkflowTestCase(BaseWorkflowTestCase):
self.client_user.post(record_url, post_data)
# Check that the intervention is still not recorded
self.intervention.refresh_from_db()
self.assertIsNone(self.intervention.recorded)
# Now fill out the data for a compensation