# Path: tests/fixtures/client.py
# @pytest.yield_fixture
# @pytest.mark.asyncio
# async def client():
#     oanda_client = OandaClient(rest_host='127.0.0.1', rest_port=8080, rest_scheme='http',
#                                stream_host='127.0.0.1', stream_port=8080, stream_scheme='http',
#                                health_host='127.0.0.1', health_port=8080, health_scheme='http')
#     yield oanda_client
#     await oanda_client.close()
#     await asyncio.sleep(0)
# 
# Path: tests/fixtures/server.py
# @pytest.yield_fixture
# @pytest.mark.asyncio
# async def server(event_loop):
#     global status, sleep_time
#     status = 200
#     sleep_time = 0
#     server = await event_loop.create_server(web.Server(handler), "127.0.0.1", 8080)
#     yield server
#     server.close()
#     await asyncio.sleep(0)


import pytest
import logging
from .fixtures.client import client
from .fixtures.server import server
logger = logging.getLogger('async_v20')
logger.disabled = True
client = client
server = server

@pytest.mark.asyncio

# Path: tests/fixtures/client.py
# @pytest.yield_fixture
# @pytest.mark.asyncio
# async def client():
#     oanda_client = OandaClient(rest_host='127.0.0.1', rest_port=8080, rest_scheme='http',
#                                stream_host='127.0.0.1', stream_port=8080, stream_scheme='http',
#                                health_host='127.0.0.1', health_port=8080, health_scheme='http')
#     yield oanda_client
#     await oanda_client.close()
#     await asyncio.sleep(0)
# 
# Path: tests/fixtures/server.py
# @pytest.yield_fixture
# @pytest.mark.asyncio
# async def server(event_loop):
#     global status, sleep_time
#     status = 200
#     sleep_time = 0
#     server = await event_loop.create_server(web.Server(handler), "127.0.0.1", 8080)
#     yield server
#     server.close()
#     await asyncio.sleep(0)


# Path: tests/test_server_fixture.py
import pytest
import logging
from .fixtures.client import client
from .fixtures.server import server

logger = logging.getLogger('async_v20')
logger.disabled = True
client = client
server = server

@pytest.mark.asyncio

async def test_list_services_returns_services(client, server):