fix linging errors
This commit is contained in:
parent
f8afdfc6a9
commit
dd35c90042
|
@ -75,4 +75,4 @@ Disallow: /
|
||||||
|
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow: /static/js/
|
Disallow: /static/js/
|
||||||
Disallow: /static/css/
|
Disallow: /static/css/
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue