Deimplement OSINT+ search

This commit is contained in:
2026-03-12 22:28:33 +00:00
parent 6ceff63b71
commit 12e02ac7ec
13 changed files with 97 additions and 1082 deletions

View File

@@ -125,3 +125,12 @@ class SettingsIntegrityTests(TestCase):
self.assertEqual(200, response.status_code)
self.assertContains(response, '<section class="section">', html=False)
self.assertContains(response, '<div class="container">', html=False)
def test_home_nav_no_longer_shows_search_page_link(self):
response = self.client.get(reverse("home"))
self.assertEqual(200, response.status_code)
self.assertNotContains(response, 'href="/search/page/"', html=False)
def test_removed_search_page_returns_404(self):
response = self.client.get("/search/page/")
self.assertEqual(404, response.status_code)