Skip to content

Commit 28ec7e5

Browse files
authored
Merge pull request #139 from graphql-python/feature/introduce-conftest
feat: support python 3.8 and introduce conftest.py
2 parents 67e8932 + d308ce3 commit 28ec7e5

File tree

10 files changed

+5
-12
lines changed

10 files changed

+5
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ _build/
66
build/
77
dist/
88
graphene_mongo.egg-info/
9+
htmlcov/
910
*.pyc
1011
*.swo
1112
*.swp

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python:
44
- "3.4"
55
- "3.5"
66
- "3.6"
7+
- "3.8"
78
install:
89
pip install -r requirements.txt
910
script: make test
File renamed without changes.

graphene_mongo/tests/test_fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from . import nodes
2-
from .setup import fixtures
32
from ..fields import MongoengineConnectionField
43

54

graphene_mongo/tests/test_mutation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from graphene.relay import Node
44

5-
from .setup import fixtures
65
from .models import Article, Editor
76
from .nodes import ArticleNode, EditorNode
87

graphene_mongo/tests/test_query.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
from . import models
77
from . import types
8-
from .setup import fixtures, fixtures_dirname
98

109

1110
def test_should_query_editor(fixtures, fixtures_dirname):

graphene_mongo/tests/test_relay_query.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import os
22
import json
3-
import pytest
43
import base64
54
import graphene
65

76
from graphene.relay import Node
87

98
from . import models
109
from . import nodes
11-
from . import types
12-
from .setup import fixtures, fixtures_dirname
1310
from ..fields import MongoengineConnectionField
1411
from ..types import MongoengineObjectType
1512

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coveralls==1.2.0
2-
flake8==3.5.0
2+
flake8==3.7.9
33
flake8-per-file-ignores==0.6
44
future==0.17.1
55
graphene>=2.1.3,<3

setup.cfg

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ description-file = README.md
44
[flake8]
55
exclude = setup.py,docs/*,examples/*
66
max-line-length = 130
7-
per-file-ignores =
8-
graphene_mongo/tests/test_mutation.py: F401, F811
9-
graphene_mongo/tests/test_query.py: F401, F811
10-
graphene_mongo/tests/test_relay_query.py: F401, F811
11-
graphene_mongo/tests/test_fields.py: F401, F811
7+
128
[coverage:run]
139
omit = */tests/*
1410

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"Programming Language :: Python :: 3.4",
1818
"Programming Language :: Python :: 3.5",
1919
"Programming Language :: Python :: 3.6",
20+
"Programming Language :: Python :: 3.8",
2021
"Programming Language :: Python :: Implementation :: PyPy",
2122
"License :: OSI Approved :: MIT License",
2223
],

0 commit comments

Comments
 (0)