Skip to content

Commit

Permalink
Add a new test
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Aug 6, 2016
1 parent c381708 commit b7a2427
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_py35/test_client.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pytest

import aiohttp


@pytest.mark.run_loop
async def test_async_with_session(loop):
async with aiohttp.ClientSession(loop=loop) as session:
pass

assert session.closed

0 comments on commit b7a2427

Please sign in to comment.