From 52d178d7e469fad802bf4dec06453d1764a08787 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Thu, 18 Apr 2019 23:38:31 +0200 Subject: Addressing all of volcyys review comments, and adding linting and full test coverage. --- pydis_site/apps/main/tests.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 pydis_site/apps/main/tests.py (limited to 'pydis_site/apps/main/tests.py') diff --git a/pydis_site/apps/main/tests.py b/pydis_site/apps/main/tests.py deleted file mode 100644 index 733ddaa3..00000000 --- a/pydis_site/apps/main/tests.py +++ /dev/null @@ -1,16 +0,0 @@ -from django.test import TestCase -from django_hosts.resolvers import reverse - -from pydis_site.apps.home.templatetags import extra_filters - - -class TestIndexReturns200(TestCase): - def test_index_returns_200(self): - url = reverse('home.index') - resp = self.client.get(url) - self.assertEqual(resp.status_code, 200) - - -class TestExtraFilterTemplateTags(TestCase): - def test_starts_with(self): - self.assertTrue(extra_filters.starts_with('foo', 'f')) -- cgit v1.2.3