diff --git a/coldfront/core/allocation/tests/test_views/test_secure_dir_request_views.py b/coldfront/core/allocation/tests/test_views/test_secure_dir_request_views.py index 666e9eb25..66021432f 100644 --- a/coldfront/core/allocation/tests/test_views/test_secure_dir_request_views.py +++ b/coldfront/core/allocation/tests/test_views/test_secure_dir_request_views.py @@ -110,6 +110,7 @@ def get_form_data(self): view_name = 'secure_dir_request_wizard' current_step_key = f'{view_name}-current_step' data_description_form_data = { + '0-department': 'Dept. of Testing', '0-data_description': 'a' * 20, '0-rdm_consultation': True, current_step_key: '0', diff --git a/coldfront/core/project/tests/test_views/test_addition_views/test_request_view.py b/coldfront/core/project/tests/test_views/test_addition_views/test_request_view.py index 864151dec..1cded3688 100644 --- a/coldfront/core/project/tests/test_views/test_addition_views/test_request_view.py +++ b/coldfront/core/project/tests/test_views/test_addition_views/test_request_view.py @@ -179,7 +179,7 @@ def test_valid_post(self): request.num_service_units, Decimal(data['num_service_units'])) self.assertTrue(pre_time <= request.request_time <= post_time) extra_fields = request.extra_fields - self.assertEqual(len(extra_fields) + 1, len(data)) + self.assertEqual(len(extra_fields), len(data)) for field in data: if field == 'num_service_units': self.assertNotIn(field, extra_fields)