Skip to content

Commit f8e1aa7

Browse files
committed
fix lint
1 parent 8dbb561 commit f8e1aa7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

intbot/tests/test_admin.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def test_admin_for_discordmessages_sanity_check(admin_client):
3434
assert dm.channel_name.encode() in response.content
3535

3636

37-
def test_admin_for_pretalx_data_sanity_check(admin_client):
37+
def test_admin_list_for_pretalx_data(admin_client):
38+
"""Simple sanity check if the page loads correctly"""
3839
url = "/admin/core/pretalxdata/"
3940
pd = PretalxData.objects.create(
4041
resource=PretalxData.PretalxResources.speakers,
@@ -48,7 +49,9 @@ def test_admin_for_pretalx_data_sanity_check(admin_client):
4849
assert str(pd.uuid).encode() in response.content
4950
assert pd.get_resource_display().encode() in response.content
5051

51-
def test_admin_for_pretalx_data_sanity_check(admin_client):
52+
53+
def test_admin_change_for_pretalx_data(admin_client):
54+
"""Simple sanity check if the page loads correctly"""
5255
url = "/admin/core/pretalxdata/"
5356
pd = PretalxData.objects.create(
5457
resource=PretalxData.PretalxResources.speakers,

0 commit comments

Comments
 (0)