add remove bot and client

This commit is contained in:
Brian Martin 2020-01-03 01:33:31 -05:00
parent 80c412afd1
commit 63e0620f0c
5 changed files with 76 additions and 25 deletions

View file

@ -141,5 +141,8 @@ def test_client_db():
bumper.client_get("resource_123")["xmpp_connection"] == False
) # Test that xmpp was set False for client
assert (
len(bumper.get_disconnected_xmpp_clients()) == 1
len(bumper.get_disconnected_xmpp_clients()) > 0
) # Test len of connected xmpp clients is 1
bumper.client_remove("resource_123")
assert bumper.client_get("resource_123") == None