File: test_async_client.py

package info (click to toggle)
python-zeep 4.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,600 kB
  • sloc: python: 15,551; makefile: 13
file content (10 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
import pytest

from zeep import AsyncClient


@pytest.mark.requests
@pytest.mark.asyncio
async def test_context_manager():
    async with AsyncClient("tests/wsdl_files/soap.wsdl") as async_client:
        assert async_client