aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/tests
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-27 09:24:48 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-27 09:24:48 +0200
commit354d78ea01b11f8197dd6933be460f9b277e4645 (patch)
treef3f53c87cd8ae8b520a960b848e95b11d9b6b245 /pydis_site/apps/home/tests
parentMerge pull request #353 from python-discord/post-game-jam (diff)
No longer accept or track avatar_hash.
This should completely remove avatar_hash from the site - both in our tests, in the model itself, and from the database (as a result of the migration).
Diffstat (limited to 'pydis_site/apps/home/tests')
-rw-r--r--pydis_site/apps/home/tests/test_signal_listener.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pydis_site/apps/home/tests/test_signal_listener.py b/pydis_site/apps/home/tests/test_signal_listener.py
index 66a67252..fb9a17db 100644
--- a/pydis_site/apps/home/tests/test_signal_listener.py
+++ b/pydis_site/apps/home/tests/test_signal_listener.py
@@ -81,14 +81,12 @@ class SignalListenerTests(TestCase):
id=0,
name="user",
discriminator=0,
- avatar_hash=None
)
cls.discord_unmapped = DiscordUser.objects.create(
id=2,
name="unmapped",
discriminator=0,
- avatar_hash=None
)
cls.discord_unmapped.roles.add(cls.unmapped_role)
@@ -98,7 +96,6 @@ class SignalListenerTests(TestCase):
id=3,
name="not-in-guild",
discriminator=0,
- avatar_hash=None,
in_guild=False
)
@@ -106,7 +103,6 @@ class SignalListenerTests(TestCase):
id=1,
name="admin",
discriminator=0,
- avatar_hash=None
)
cls.discord_admin.roles.set([cls.admin_role])
@@ -116,7 +112,6 @@ class SignalListenerTests(TestCase):
id=4,
name="admin",
discriminator=0,
- avatar_hash=None
)
cls.discord_moderator.roles.set([cls.moderator_role])