From dd35c90042cd0b5c28a4fbedfce7a3a249362227 Mon Sep 17 00:00:00 2001 From: Willi Hohenstein Date: Thu, 27 Jan 2022 19:54:12 +0100 Subject: [PATCH] fix linging errors --- bookwyrm/templates/robots.txt | 2 +- bookwyrm/tests/views/admin/test_federation.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/robots.txt b/bookwyrm/templates/robots.txt index 4e7f1a4a..a328b6e9 100644 --- a/bookwyrm/templates/robots.txt +++ b/bookwyrm/templates/robots.txt @@ -75,4 +75,4 @@ Disallow: / User-agent: * Disallow: /static/js/ -Disallow: /static/css/ \ No newline at end of file +Disallow: /static/css/ diff --git a/bookwyrm/tests/views/admin/test_federation.py b/bookwyrm/tests/views/admin/test_federation.py index be37f063..19c8909f 100644 --- a/bookwyrm/tests/views/admin/test_federation.py +++ b/bookwyrm/tests/views/admin/test_federation.py @@ -40,7 +40,7 @@ class FederationViews(TestCase): ) models.SiteSettings.objects.create() - + def test_federation_page(self): """there are so many views, this just makes sure it LOADS""" view = views.Federation.as_view() @@ -210,4 +210,5 @@ class FederationViews(TestCase): self.assertEqual(created.notes, "https://explanation.url") # remove file.json after test - os.remove("file.json") \ No newline at end of file + os.remove("file.json") + \ No newline at end of file