test_azure_batch_2.py 230 B

1234
  1. def test_connection_and_client(self):
  2. hook = AzureBatchHook(azure_batch_conn_id=self.test_vm_conn_id)
  3. assert isinstance(hook._connection(), Connection)
  4. assert isinstance(hook.get_conn(), BatchServiceClient)