diff options
author | 2021-11-22 20:38:41 +0000 | |
---|---|---|
committer | 2021-11-22 20:38:41 +0000 | |
commit | c8d1513b8f8cb21482180ce19d69a107adefe4e2 (patch) | |
tree | 4179a1a1e69d12f4b049235f641d1db06ca8da58 /pydis_site/apps/api/apps.py | |
parent | Only 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