Skip to content

Commit b202734

Browse files
authored
Merge pull request #309 from fantix/pyup-update-pytest-3.6.4-to-3.7.2
Update pytest to 3.7.2
2 parents a05c82a + c5b2d05 commit b202734

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ quart==0.6.5;python_version>="3.6"
1515
coverage==4.5.1
1616
flake8==3.5.0
1717
tox==3.2.1
18-
pytest==3.6.4
18+
pytest==3.7.2
1919
pytest-runner==4.2
2020
pytest-asyncio==0.9.0
2121
pytest-tornado==0.5.0

tests/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

tests/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import string
55
from datetime import datetime
66

7+
import pytest
8+
79
from gino import Gino
810
from gino.dialects.asyncpg import JSONB
911

@@ -19,6 +21,7 @@
1921
db = Gino()
2022

2123

24+
@pytest.fixture
2225
def random_name(length=8) -> str:
2326
return ''.join(random.choice(string.ascii_letters) for _ in range(length))
2427

0 commit comments

Comments
 (0)