diff options
| author | 2021-11-05 10:09:35 +0530 | |
|---|---|---|
| committer | 2021-11-05 10:09:35 +0530 | |
| commit | 747a7b9cb465c85a064ac6e1a0444bcf8a81ec65 (patch) | |
| tree | 1bb529b764bed5c727a3956b7bb432a18ec82d43 /pydis_site/apps/home/tests | |
| parent | Merge branch 'main' into otn_softdel (diff) | |
| parent | Merge pull request #617 from python-discord/mbaruh-patch-1 (diff) | |
Pull from upstream/main and resolve conflicts.
Diffstat (limited to 'pydis_site/apps/home/tests')
| -rw-r--r-- | pydis_site/apps/home/tests/mock_github_api_response.json | 2 | ||||
| -rw-r--r-- | pydis_site/apps/home/tests/test_views.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pydis_site/apps/home/tests/mock_github_api_response.json b/pydis_site/apps/home/tests/mock_github_api_response.json index ddbffed8..3b0a7078 100644 --- a/pydis_site/apps/home/tests/mock_github_api_response.json +++ b/pydis_site/apps/home/tests/mock_github_api_response.json @@ -21,7 +21,7 @@ "forks_count": 31 }, { - "full_name": "python-discord/django-simple-bulma", + "full_name": "python-discord/king-arthur", "description": "test", "stargazers_count": 97, "language": "Python", diff --git a/pydis_site/apps/home/tests/test_views.py b/pydis_site/apps/home/tests/test_views.py index bd1671b1..b1215df4 100644 --- a/pydis_site/apps/home/tests/test_views.py +++ b/pydis_site/apps/home/tests/test_views.py @@ -1,10 +1,10 @@ from django.test import TestCase -from django_hosts.resolvers import reverse +from django.urls import reverse class TestIndexReturns200(TestCase): def test_index_returns_200(self): """Check that the index page returns a HTTP 200 response.""" - url = reverse('home') + url = reverse('home:home') resp = self.client.get(url) self.assertEqual(resp.status_code, 200) |