MyStyleDesignManagerTest S

Total Complexity 21
Dependencies 14
Dependents 0
Total lines 578
Lines of code 238
Logical lines of code 196
Comment lines 197
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
test_set_user_id_for_email_and_session_match()
S
54 1 20
test_set_user_id_for_failed_email_match()
S
55 1 19
test_set_user_id_for_session_match_with_no_design_email()
S
57 1 17
test_get_designs_hides_other_users_private_design()
S
57 1 17
test_set_user_id_for_session_match_with_no_email()
S
57 1 17
test_get_designs_shows_private_design_to_admin_user()
S
58 1 15
test_get_private_design_when_forbidden()
S
61 1 12
test_get_private_with_user_match()
S
62 1 12
test_get_private_with_session_match()
S
62 1 11
test_get_private_when_admin()
S
62 1 11
test_delete()
S
63 1 11
setUp()
S
70 1 6
test_get_designs_hides_private_design_from_anonymous_users()
S
64 1 10
test_get_designs_simple()
S
67 1 8
test_get_previous_design()
S
67 1 8
test_get_next_design()
S
67 1 8
tearDown()
S
71 1 6
test_get_private_design_when_unauthorized()
S
64 1 10
test_get_with_an_invalid_design_id()
S
73 1 5
test_get_with_a_valid_design_id()
S
68 1 7
test_get_total_design_count()
S
67 1 8