예제 #1
0
 def setUpClass(cls):
     cls.ably = AblyRest(key=test_vars["keys"][0]["key_str"],
                         rest_host=test_vars["host"],
                         port=test_vars["port"],
                         tls_port=test_vars["tls_port"],
                         tls=test_vars["tls"])
     cls.cipher_params = CipherParams(secret_key='keyfordecrypt_16',
                                      algorithm='aes')
예제 #2
0
 def setUpClass(cls):
     cls.ably = RestSetup.get_ably_rest()
     cls.cipher_params = CipherParams(secret_key='keyfordecrypt_16',
                                      algorithm='aes')
예제 #3
0
 async def setUp(self):
     self.ably = await RestSetup.get_ably_rest()
     self.cipher_params = CipherParams(secret_key='keyfordecrypt_16',
                                       algorithm='aes')
예제 #4
0
 def setUpClass(cls):
     cls.ably = RestSetup.get_ably_rest(use_binary_protocol=False)
     cls.cipher_params = CipherParams(secret_key='keyfordecrypt_16',
                                      algorithm='aes')