accounts/admin.py |
(no function) |
11 |
0 |
0 |
0 |
0 |
100.00% |
accounts/apps.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/forms.py |
CustomUserCreationForm.clean_username |
6 |
0 |
0 |
0 |
0 |
100.00% |
accounts/forms.py |
(no function) |
14 |
0 |
0 |
0 |
0 |
100.00% |
accounts/models.py |
CustomUser.__str__ |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/models.py |
CustomUser.get_absolute_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/models.py |
(no function) |
12 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_forms.py |
TestUserCreationForm.test_clean_username |
9 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_forms.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
CustomUserTests.setUp |
3 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
CustomUserTests.test___str__ |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
CustomUserTests.test_user_get_absolute_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
CustomUserTests.test_create_user |
5 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
CustomUserTests.test_user_asserts |
11 |
2 |
0 |
0 |
0 |
81.82% |
accounts/tests/test_models.py |
CustomUserTests.test_create_superuser |
5 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
CustomUserTests.test_superuser_asserts |
7 |
2 |
0 |
0 |
0 |
71.43% |
accounts/tests/test_models.py |
SignupPageTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
SignupPageTests.test_signup_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
SignupPageTests.test_signup_form |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
LoginPageTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
LoginPageTests.test_login_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
LogoutPageTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
LogoutPageTests.test_logout_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordResetFormTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordResetFormTests.test_password_reset_form_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordResetDoneTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordResetDoneTests.test_password_reset_done_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordChangeFormTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordChangeFormTests.test_password_change_form_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordChangeDoneTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
PasswordChangeDoneTests.test_password_change_done_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_models.py |
(no function) |
35 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_urls.py |
test_detail |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_urls.py |
test_update |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_urls.py |
test_redirect |
2 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_urls.py |
(no function) |
7 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_views.py |
TestUserUpdateView.dummy_get_response |
1 |
1 |
0 |
0 |
0 |
0.00% |
accounts/tests/test_views.py |
TestUserUpdateView.test_get_success_url |
5 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_views.py |
TestUserUpdateView.test_get_object |
5 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_views.py |
TestUserUpdateView.test_form_valid |
14 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_views.py |
TestUserRedirectView.test_get_redirect_url |
5 |
0 |
0 |
0 |
0 |
100.00% |
accounts/tests/test_views.py |
(no function) |
17 |
0 |
0 |
0 |
0 |
100.00% |
accounts/urls.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100.00% |
accounts/views.py |
UserUpdateView.get_success_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/views.py |
UserUpdateView.get_object |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/views.py |
UserRedirectView.get_redirect_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
accounts/views.py |
(no function) |
21 |
0 |
0 |
0 |
0 |
100.00% |
catalog/admin.py |
(no function) |
25 |
0 |
0 |
0 |
0 |
100.00% |
catalog/apps.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100.00% |
catalog/forms.py |
RenewBookForm.clean_renewal_date |
6 |
0 |
0 |
4 |
0 |
100.00% |
catalog/forms.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100.00% |
catalog/models.py |
Genre.__str__ |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/models.py |
Language.__str__ |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/models.py |
Book.__str__ |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/models.py |
Book.get_absolute_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/models.py |
Book.display_genre |
1 |
1 |
0 |
0 |
0 |
0.00% |
catalog/models.py |
BookInstance.__str__ |
1 |
1 |
0 |
0 |
0 |
0.00% |
catalog/models.py |
BookInstance.is_overdue |
3 |
1 |
0 |
2 |
1 |
60.00% |
catalog/models.py |
Author.__str__ |
3 |
1 |
0 |
2 |
1 |
60.00% |
catalog/models.py |
Author.get_absolute_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/models.py |
(no function) |
56 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
RenewBookFormTest.test_renew_form_date_in_past |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
RenewBookFormTest.test_renew_form_date_too_far_in_future |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
RenewBookFormTest.test_renew_form_date_today |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
RenewBookFormTest.test_renew_form_date_max |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
RenewBookFormTest.test_renew_form_date_field_label |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
RenewBookFormTest.test_renew_form_date_field_help_text |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_forms.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
BookModelTest.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
BookModelTest.test_book___str__ |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
BookModelTest.test_get_absolute_url |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
GenreModelTest.setUp |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
GenreModelTest.test_genre___str__ |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
LanguageModelTest.setUp |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
LanguageModelTest.test_genre___str__ |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_first_name_label |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_last_name_label |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_date_of_birth_label |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_date_of_death_label |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_first_name_max_length |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_last_name_max_length |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_get_absolute_url |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_models.py |
AuthorModelTest.test_middlename__str__ |
3 |
1 |
0 |
2 |
1 |
60.00% |
catalog/tests/test_models.py |
(no function) |
24 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.setUpTestData |
3 |
0 |
0 |
2 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.test_view_url_exists_at_desired_location |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.test_view_url_accessible_by_name |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.test_view_uses_correct_template |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.test_pagination_is_ten |
4 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorListViewTest.test_lists_all_authors |
5 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
LoanedBookInstancesByUserListViewTest.setUp |
19 |
0 |
0 |
4 |
0 |
100.00% |
catalog/tests/test_views.py |
LoanedBookInstancesByUserListViewTest.test_redirect_if_not_logged_in |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
LoanedBookInstancesByUserListViewTest.test_logged_in_uses_correct_template |
5 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
LoanedBookInstancesByUserListViewTest.test_only_borrowed_books_in_list |
17 |
0 |
0 |
4 |
0 |
100.00% |
catalog/tests/test_views.py |
LoanedBookInstancesByUserListViewTest.test_pages_paginated_to_ten |
8 |
0 |
0 |
2 |
0 |
100.00% |
catalog/tests/test_views.py |
LoanedBookInstancesByUserListViewTest.test_pages_ordered_by_due_date |
13 |
0 |
0 |
6 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.setUp |
18 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_redirect_if_not_logged_in |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_forbidden_if_logged_in_but_not_correct_permission |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_logged_in_with_permission_borrowed_book |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_logged_in_with_permission_another_users_borrowed_book |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_uses_correct_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_form_renewal_date_initially_has_date_three_weeks_in_future |
5 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_redirects_to_all_borrowed_book_list_on_success |
4 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
RenewBookInstancesViewTest.test_HTTP404_for_invalid_book_if_logged_in |
5 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.setUp |
8 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.test_redirect_if_not_logged_in |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.test_forbidden_if_logged_in_but_not_correct_permission |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.test_logged_in_with_permission |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.test_uses_correct_template |
4 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.test_form_date_of_birth_initially_set_to_expected_date |
7 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
AuthorCreateViewTest.test_redirects_to_detail_view_on_success |
4 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.test_index_status_code |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.test_index_url_name |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.test_index_contains_correct_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.test_index_does_not_contain_incorrect_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.test_index_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
IndexTests.test_index_page_url_resolves_index |
2 |
0 |
0 |
0 |
0 |
100.00% |
catalog/tests/test_views.py |
(no function) |
51 |
0 |
0 |
0 |
0 |
100.00% |
catalog/urls.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100.00% |
catalog/views.py |
index |
8 |
0 |
0 |
0 |
0 |
100.00% |
catalog/views.py |
LoanedBooksByUserListView.get_queryset |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/views.py |
LoanedBooksAllListView.get_queryset |
1 |
0 |
0 |
0 |
0 |
100.00% |
catalog/views.py |
renew_book_librarian |
11 |
0 |
0 |
4 |
1 |
93.33% |
catalog/views.py |
SearchResultsListView.get_queryset |
2 |
2 |
0 |
0 |
0 |
0.00% |
catalog/views.py |
(no function) |
69 |
0 |
0 |
0 |
0 |
100.00% |
config/test.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100.00% |
config/urls.py |
(no function) |
5 |
0 |
1 |
0 |
0 |
100.00% |
pages/admin.py |
(no function) |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/apps.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100.00% |
pages/forms.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100.00% |
pages/models.py |
(no function) |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_forms.py |
ContactFormTests.test_contact_page_form_is_valid |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_forms.py |
ContactFormTests.test_contact_form_is_invalid |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_forms.py |
ContactFormTests.test_header_injection |
7 |
2 |
0 |
0 |
0 |
71.43% |
pages/tests/test_forms.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
HomePageTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
HomePageTests.test_homepage_status_code |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
HomePageTests.test_homepage_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
HomePageTests.test_homepage_contains_correct_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
HomePageTests.test_homepage_does_not_contain_incorrect_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
HomePageTests.test_homepage_url_resolves_homepageview |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
AboutPageTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
AboutPageTests.test_about_page_status_code |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
AboutPageTests.test_about_page_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
AboutPageTests.test_about_page_contains_correct_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
AboutPageTests.test_about_page_does_not_contain_incorrect_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
AboutPageTests.test_about_page_url_resolves_about_pageview |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
ContactViewTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
ContactViewTests.test_contact_page_status_code |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
ContactViewTests.test_contact_page_url_resolves_contactpageview |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
ContactViewTests.test_contact_page_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
ContactViewTests.test_contact_page_contains_correct_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
ContactViewTests.test_contact_page_does_not_contain_incorrect_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
SuccessViewTests.setUp |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
SuccessViewTests.test_success_page_status_code |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
SuccessViewTests.test_success_page_template |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
SuccessViewTests.test_success_page_contains_correct_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
SuccessViewTests.test_success_page_does_not_contain_incorrect_html |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
SuccessViewTests.test_success_page_url_resolves_success_page_view |
2 |
0 |
0 |
0 |
0 |
100.00% |
pages/tests/test_views.py |
(no function) |
31 |
0 |
0 |
0 |
0 |
100.00% |
pages/urls.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100.00% |
pages/views.py |
ContactView |
13 |
0 |
0 |
4 |
0 |
100.00% |
pages/views.py |
SuccessView |
1 |
0 |
0 |
0 |
0 |
100.00% |
pages/views.py |
(no function) |
11 |
0 |
0 |
0 |
0 |
100.00% |