diff options
author | 2019-04-18 23:38:31 +0200 | |
---|---|---|
committer | 2019-04-18 23:38:31 +0200 | |
commit | 52d178d7e469fad802bf4dec06453d1764a08787 (patch) | |
tree | a4ee0d736c8252763699e6a40a18b0312d6017f1 /pydis_site/apps/main/tests.py | |
parent | Fixing all linting problems introduced by this PR. There's still a TODO left ... (diff) |
Addressing all of volcyys review comments, and adding linting and full test coverage.
Diffstat (limited to 'pydis_site/apps/main/tests.py')
-rw-r--r-- | pydis_site/apps/main/tests.py | 16 |
1 files changed, 0 insertions, 16 deletions
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')) |