8000 chore: Added tests for GetAdminUrlForLanguage template tag by filipweidemann · Pull Request #8049 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

chore: Added tests for GetAdminUrlForLanguage template tag #8049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Oct 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix spelling problem
  • Loading branch information
filipweidemann committed Oct 29, 2024
commit 91b90e2c475b707f5920473b15d61ae568a127c5
2 changes: 1 addition & 1 deletion cms/tests/test_templatetags.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_get_admin_url_for_language(self):

with force_language('fr'):
url = GetAdminUrlForLanguage.get_value(None, context={'request': request}, page=page, language="fr")
# PageContent for the French languag does not exist, we expect a link to create a new PageContent instance
# PageContent for the French language does not exist, we expect a link to create a new PageContent instance
self.assertEqual(url, f'/fr/admin/cms/pagecontent/add/?cms_page={page.pk}&language=fr')

def test_admin_pagecontent_language_tab_urls(self):
Expand Down
Loading
0