userver: /home/antonyzhilin/arcadia/taxi/uservices/userver/libraries/easy/samples/0_hello_world/testsuite/test_basic.py Source File
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
test_basic.py
1async def test_hello_simple(service_client):
2 response = await service_client.get('/hello')
3 assert response.status == 200
4 assert 'text/plain' in response.headers['Content-Type']
5 assert response.text == 'Hello world'