aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-30 10:37:41 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-30 10:37:41 +0200
commitfa3cd5fef8e2f80a85ebc460cffb4e59c8e6387a (patch)
tree26208c974af73096eb472bcbf0de49fa8b47a2c4 /tests/helpers.py
parentFix busted test_information test. (diff)
Prevent duplicates, and break into function.
- We're using a set comprehension and flipping the order for counting the number of channels that are both staff allow and @everyone deny. - We're breaking the staff channel count stuff into a separate helper function so it doesn't crowd the server_info() scope. These fixes are both to address the code review from @MarkKoz, thanks Mark.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions