SubmissionsHandlerTest S

Total Complexity 28
Dependencies 8
Dependents 0
Total lines 1,281
Lines of code 848
Logical lines of code 432
Comment lines 142
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
test_can_approve_close_meeting_with_delete()
S
44 1 47
test_approve_close_meeting_sends_email_to_submitter_with_unpublish()
S
44 1 47
test_can_approve_close_meeting_with_unpublish()
S
44 1 47
test_approve_close_meeting_sends_email_to_submitter_with_delete()
S
44 1 46
test_approve_change_meeting_sends_email_to_submitter_with_action_message()
S
44 1 45
test_approve_change_meeting_sends_email_to_submitter()
S
44 1 45
test_can_approve_change_meeting()
S
45 1 42
test_can_create_new_with_starter_kit_requested()
S
45 1 41
test_can_create_new_with_no_starter_kit_requested()
S
45 1 39
test_can_create_new_with_alpha_postcode()
S
45 1 39
setUp()
S
53 2 22
test_can_close()
S
47 1 34
test_cant_create_new_if_starter_kit_answer_missing()
S
48 1 34
test_cant_create_new_with_bad_duration_ime()
S
48 1 33
test_cant_create_new_with_bad_start_time()
S
48 1 33
test_can_change_if_meeting_format_has_leading_or_trailing_commas()
S
48 1 30
test_can_change_meeting_name()
S
48 1 30
test_can_change_meeting_format()
S
49 1 29
test_cant_change_service_body()
S
51 1 26
test_cant_change_if_format_list_has_garbage()
S
51 1 25
test_cant_change_if_weekday_is_too_big()
S
51 1 25
test_cant_change_if_weekday_is_zero()
S
51 1 25
test_cant_change_if_weekday_is_garbage()
S
51 1 25
setVerboseErrorHandler()
S
62 1 12
stub_bmlt()
S
61 1 11
generate_approve_request()
S
63 1 10
tearDown()
S
71 1 6