fix linging errors

This commit is contained in:
Willi Hohenstein 2022-01-27 19:54:12 +01:00
parent f8afdfc6a9
commit dd35c90042
2 changed files with 4 additions and 3 deletions

View File

@ -75,4 +75,4 @@ Disallow: /
User-agent: * User-agent: *
Disallow: /static/js/ Disallow: /static/js/
Disallow: /static/css/ Disallow: /static/css/

View File

@ -40,7 +40,7 @@ class FederationViews(TestCase):
) )
models.SiteSettings.objects.create() models.SiteSettings.objects.create()
def test_federation_page(self): def test_federation_page(self):
"""there are so many views, this just makes sure it LOADS""" """there are so many views, this just makes sure it LOADS"""
view = views.Federation.as_view() view = views.Federation.as_view()
@ -210,4 +210,5 @@ class FederationViews(TestCase):
self.assertEqual(created.notes, "https://explanation.url") self.assertEqual(created.notes, "https://explanation.url")
# remove file.json after test # remove file.json after test
os.remove("file.json") os.remove("file.json")