Fixed the tests

This commit is contained in:
Corey Oordt 2021-12-12 08:45:41 -06:00
parent acdae7b1d4
commit 45d47ab646
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -167,7 +167,7 @@ output/*/index.html
# Testing artifacts
junit-*.xml
flake8-errors.txt
example/media/
# Documentation building
_build
doc_src/api/categories*.rst

View file

@ -45,7 +45,7 @@ class CategoryTagsTest(TestCase):
self.assertEqual(resp, expected_resp)
# breadcrumbs
expected_resp = '<a href="/categories/world/">World</a> &gt; Worldbeat'
expected_resp = '<a href="/categories/world/">World</a> &gt; Worldbeat\n'
resp = self.render_template(
"{% load category_tags %}" '{% breadcrumbs "/World/Worldbeat" " &gt; " "categories.category" %}'
)

View file

@ -42,7 +42,7 @@ INSTALLED_APPS = (
)
TIME_ZONE = "America/Chicago"
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
LANGUAGE_CODE = "en-us"
SITE_ID = 1