(self)
| 48 | self.assertTemplateUsed(resp, "admin/login.html") |
| 49 | |
| 50 | def test_headers(self): |
| 51 | SimpleQueryFactory(title="foo - bar1") |
| 52 | SimpleQueryFactory(title="foo - bar2") |
| 53 | SimpleQueryFactory(title="foo - bar3") |
| 54 | SimpleQueryFactory(title="qux - mux") |
| 55 | resp = self.client.get(reverse("explorer_index")) |
| 56 | self.assertContains(resp, "foo (3)") |
| 57 | self.assertContains(resp, "foo - bar2") |
| 58 | self.assertContains(resp, "qux - mux") |
| 59 | |
| 60 | def test_permissions_show_only_allowed_queries(self): |
| 61 | self.client.logout() |
nothing calls this directly
no test coverage detected