mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Add a few assertions
This commit is contained in:
parent
1c7f444592
commit
81be6ef622
1 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,12 @@ class CvstatsCommand(rc.Command):
|
|||
if self._is_ryg_member(m):
|
||||
members_playing += 1
|
||||
|
||||
assert users_online >= members_online
|
||||
assert users_online >= users_connected
|
||||
assert users_online >= users_playing
|
||||
assert members_online >= members_connected
|
||||
assert members_online >= members_playing
|
||||
|
||||
log.debug(f"Total users: {users_total}")
|
||||
log.debug(f"Total members: {members_total}")
|
||||
log.debug(f"Online users: {users_online}")
|
||||
|
|
Loading…
Reference in a new issue