def test_connect_constructor(self): client = WaapiClient() self.assertIsNotNone(client) self.assertTrue(client.is_connected())
def test_disconnect(self): client = WaapiClient() self.assertTrue(client.is_connected()) client.disconnect() self.assertFalse(client.is_connected())