Skip to content

Commit

Permalink
fixed testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Hzaakk committed Nov 6, 2023
1 parent 51d241b commit e6b7c35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6b7c35

Please sign in to comment.