aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources/tests
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-27 10:16:52 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-27 10:16:52 +0100
commit4ee8d527a2cf0ac7e4fd977ffd29e560b3cd48cb (patch)
tree86037770cbcd15e8055f8469166d7139dbbf8d53 /pydis_site/apps/resources/tests
parentFix broken yaml in kivy.yaml. (diff)
Greatly simplify the backend.
Here we're getting rid of all filtering and search functionality on the backend. We'll be handling this on the client-side from now on.
Diffstat (limited to 'pydis_site/apps/resources/tests')
-rw-r--r--pydis_site/apps/resources/tests/test_views.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/pydis_site/apps/resources/tests/test_views.py b/pydis_site/apps/resources/tests/test_views.py
index 2e9efc1d..f96a04b0 100644
--- a/pydis_site/apps/resources/tests/test_views.py
+++ b/pydis_site/apps/resources/tests/test_views.py
@@ -16,16 +16,3 @@ class TestResourcesView(TestCase):
url = reverse("resources:index")
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
-
-
-class TestResourcesListView(TestCase):
- def test_valid_resource_list_200(self):
- """Check does site return code 200 when visiting valid resource list."""
- url = reverse("resources:resources")
- response = self.client.get(url)
- self.assertEqual(response.status_code, 200)
-
- @patch("pydis_site.apps.resources.resource_search.RESOURCES_PATH", TESTING_RESOURCES_PATH)
- def test_filter_resource_list(self):
- """TODO: Check that we can correctly filter resources with GET parameters."""
- pass