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"
15
15
coverage==4.5.1
16
16
flake8==3.5.0
17
17
tox==3.2.1
18
- pytest==3.6.4
18
+ pytest==3.7.2
19
19
pytest-runner==4.2
20
20
pytest-asyncio==0.9.0
21
21
pytest-tornado==0.5.0
Original file line number Diff line number Diff line change @@ -46,6 +46,3 @@ async def asyncpg_pool(sa_engine):
46
46
await yield_ (rv )
47
47
await rv .execute ('DELETE FROM gino_user_settings' )
48
48
await rv .execute ('DELETE FROM gino_users' )
49
-
50
-
51
- pytest .fixture (random_name )
Original file line number Diff line number Diff line change 4
4
import string
5
5
from datetime import datetime
6
6
7
+ import pytest
8
+
7
9
from gino import Gino
8
10
from gino .dialects .asyncpg import JSONB
9
11
19
21
db = Gino ()
20
22
21
23
24
+ @pytest .fixture
22
25
def random_name (length = 8 ) -> str :
23
26
return '' .join (random .choice (string .ascii_letters ) for _ in range (length ))
24
27
You can’t perform that action at this time.
0 commit comments