mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Fixed the tests
This commit is contained in:
parent
acdae7b1d4
commit
45d47ab646
3 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -167,7 +167,7 @@ output/*/index.html
|
|||
# Testing artifacts
|
||||
junit-*.xml
|
||||
flake8-errors.txt
|
||||
|
||||
example/media/
|
||||
# Documentation building
|
||||
_build
|
||||
doc_src/api/categories*.rst
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class CategoryTagsTest(TestCase):
|
|||
self.assertEqual(resp, expected_resp)
|
||||
|
||||
# breadcrumbs
|
||||
expected_resp = '<a href="/categories/world/">World</a> > Worldbeat'
|
||||
expected_resp = '<a href="/categories/world/">World</a> > Worldbeat\n'
|
||||
resp = self.render_template(
|
||||
"{% load category_tags %}" '{% breadcrumbs "/World/Worldbeat" " > " "categories.category" %}'
|
||||
)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ INSTALLED_APPS = (
|
|||
)
|
||||
|
||||
TIME_ZONE = "America/Chicago"
|
||||
|
||||
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||
LANGUAGE_CODE = "en-us"
|
||||
|
||||
SITE_ID = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue