8000 minor formatting fixes · django-cms/django-cms@4177db0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4177db0

Browse files
committed
minor formatting fixes
1 parent 5cb2142 commit 4177db0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cms/test_utils/project/sampleapp/cms_apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def my_view(request):
8282
return [
8383
re_path(r'^$', my_view, name='sample3-root'),
8484
]
85-
85+
8686

8787
class SampleAppWithoutLandingPage(CMSApp):
8888
# CMSApp that does not define a view at ''

cms/tests/test_apphooks.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ def test_apphook_on_homepage(self):
163163

164164
def test_apphook_without_landing_page(self):
165165
"""test rendering the apphook without landing page.
166-
166+
167167
tests for https://github.com/django-cms/django-cms/issues/7765
168168
"""
169169
from cms.utils.urlutils import admin_reverse
170170
from cms import views
171171
from django.contrib.contenttypes.models import ContentType
172-
172+
173173
APP_NAME = 'SampleAppWithoutLandingPage'
174174
[content] = self.create_base_structure(
175175
APP_NAME, ["en"], "apphook-without-landing"
@@ -180,7 +180,6 @@ def test_apphook_without_landing_page(self):
180180
# published page content
181181
self.assertIsNot(endpoint, views.details)
182182

183-
184183
@override_settings(ROOT_URLCONF='cms.test_utils.project.urls_for_apphook_tests')
185184
def test_apphook_does_not_crash_django_checks(self):
186185
# This test case reproduced the situation causing the error reported in issue #6717.

0 commit comments

Comments
 (0)
0