File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ quart==0.6.5;python_version>="3.6"
1515coverage==4.5.1
1616flake8==3.5.0
1717tox==3.2.1
18- pytest==3.6.4
18+ pytest==3.7.2
1919pytest-runner==4.2
2020pytest-asyncio==0.9.0
2121pytest-tornado==0.5.0
Original file line number Diff line number Diff line change @@ -46,6 +46,3 @@ async def asyncpg_pool(sa_engine):
4646 await yield_ (rv )
4747 await rv .execute ('DELETE FROM gino_user_settings' )
4848 await rv .execute ('DELETE FROM gino_users' )
49-
50-
51- pytest .fixture (random_name )
Original file line number Diff line number Diff line change 44import string
55from datetime import datetime
66
7+ import pytest
8+
79from gino import Gino
810from gino .dialects .asyncpg import JSONB
911
1921db = Gino ()
2022
2123
24+ @pytest .fixture
2225def random_name (length = 8 ) -> str :
2326 return '' .join (random .choice (string .ascii_letters ) for _ in range (length ))
2427
You can’t perform that action at this time.
0 commit comments