aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/apps.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-11-22 20:38:41 +0000
committerGravatar Chris Lovering <[email protected]>2021-11-22 20:38:41 +0000
commitc8d1513b8f8cb21482180ce19d69a107adefe4e2 (patch)
tree4179a1a1e69d12f4b049235f641d1db06ca8da58 /pydis_site/apps/api/apps.py
parentOnly calc activity blocks when <1k messages (diff)
Make metricity test order insensitive
We only actually care that thee key:value pairs are equal, the order of them isn't actually important. The naming of `assertCountEqual` is a little misleading, since it actually tests that the first sequence contains the same elements as second, regardless of their order. See https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertCountEqual
Diffstat (limited to 'pydis_site/apps/api/apps.py')
0 files changed, 0 insertions, 0 deletions