From 800c854b3c402d43dd4c0835bc0dc5f87d990aa3 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 8 Jan 2022 18:26:47 +0100 Subject: [PATCH] update some DocStrings --- tests/test_django_project.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_django_project.py b/tests/test_django_project.py index 84cb7a6..7f1372b 100644 --- a/tests/test_django_project.py +++ b/tests/test_django_project.py @@ -42,7 +42,7 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase): def test_urls(self): assert reverse('admin:index') == '/app_path/' - # The django_ynh debug view should not be avaiable: + # The django_yunohost_integration debug view should not be available: with self.assertRaises(NoReverseMatch): reverse(request_media_debug_view) @@ -83,7 +83,7 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase): user = User.objects.first() assert user.username == 'test' assert user.is_active is True - assert user.is_staff is True # Set by: conf.django_ynh_demo_urls.setup_user_handler + assert user.is_staff is True # Set by: django_yunohost_integration assert user.is_superuser is False assert response.status_code == 200 @@ -113,7 +113,7 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase): user = User.objects.first() assert user.username == 'test' assert user.is_active is True - assert user.is_staff is True # Set by: conf.django_ynh_demo_urls.setup_user_handler + assert user.is_staff is True # Set by: django_yunohost_integration assert user.is_superuser is False assert AccessLog.objects.count() == 1 @@ -138,7 +138,7 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase): user = User.objects.first() assert user.username == 'test' assert user.is_active is True - assert user.is_staff is True # Set by: conf.django_ynh_demo_urls.setup_user_handler + assert user.is_staff is True # Set by: django_yunohost_integration assert user.is_superuser is False assert AccessLog.objects.count() == 1 @@ -162,7 +162,7 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase): user = User.objects.first() assert user.username == 'test' assert user.is_active is True - assert user.is_staff is True # Set by: conf.django_ynh_demo_urls.setup_user_handler + assert user.is_staff is True # Set by: django_yunohost_integration assert user.is_superuser is False assert AccessLog.objects.count() == 1