From b7b7b2680e0850c904421685b2e93e0fe5a32379 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 4 Dec 2022 11:44:42 -0800 Subject: [PATCH] Fixes unit test --- bookwyrm/tests/views/admin/test_site.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bookwyrm/tests/views/admin/test_site.py b/bookwyrm/tests/views/admin/test_site.py index 85f785027..8eda6a2fb 100644 --- a/bookwyrm/tests/views/admin/test_site.py +++ b/bookwyrm/tests/views/admin/test_site.py @@ -14,6 +14,7 @@ from bookwyrm.tests.validate_html import validate_html class SiteSettingsViews(TestCase): """Edit site settings""" + # pylint: disable=invalid-name def setUp(self): """we need basic test data and mocks""" self.factory = RequestFactory() @@ -56,6 +57,8 @@ class SiteSettingsViews(TestCase): form.data["invite_request_text"] = "blah" form.data["code_of_conduct"] = "blah" form.data["privacy_policy"] = "blah" + form.data["show_impressum"] = False + form.data["impressum"] = "bleh" request = self.factory.post("", form.data) request.user = self.local_user