Run Black over the whole codebase

This commit is contained in:
Danielle McLean 2023-08-10 16:52:37 +10:00
parent cd990e4e2f
commit 2e7d12b3e6
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
109 changed files with 1539 additions and 1209 deletions

View file

@ -3,27 +3,27 @@ import pytest
@pytest.mark.django_db
def test_atom(client):
res = client.get('/atom')
res = client.get("/atom")
assert res.status_code == 200
assert res['Content-Type'] == 'application/atom+xml; charset=utf-8'
assert res["Content-Type"] == "application/atom+xml; charset=utf-8"
@pytest.mark.django_db
def test_rss(client):
res = client.get('/rss')
res = client.get("/rss")
assert res.status_code == 200
assert res['Content-Type'] == 'application/rss+xml; charset=utf-8'
assert res["Content-Type"] == "application/rss+xml; charset=utf-8"
@pytest.mark.django_db
def test_atom_by_kind(client):
res = client.get('/notes/atom')
res = client.get("/notes/atom")
assert res.status_code == 200
assert res['Content-Type'] == 'application/atom+xml; charset=utf-8'
assert res["Content-Type"] == "application/atom+xml; charset=utf-8"
@pytest.mark.django_db
def test_rss_by_kind(client):
res = client.get('/notes/rss')
res = client.get("/notes/rss")
assert res.status_code == 200
assert res['Content-Type'] == 'application/rss+xml; charset=utf-8'
assert res["Content-Type"] == "application/rss+xml; charset=utf-8"