We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10fbf73 commit 4ced109Copy full SHA for 4ced109
graphene_mongo/tests/models.py
@@ -1,10 +1,11 @@
1
import mongoengine
2
from datetime import datetime
3
+import mongomock
4
from mongomock import gridfs
5
6
gridfs.enable_gridfs_integration()
7
mongoengine.connect(
- "graphene-mongo-test", host="mongomock://localhost", alias="default"
8
+ "graphene-mongo-test", mongo_client_class=mongomock.MongoClient, alias="default"
9
)
10
11
requirements.txt
@@ -6,7 +6,7 @@ future==0.18.2
graphene==3.1.1
promise==2.3
mongoengine==0.19.1; python_version <= '3.5'
-mongoengine==0.24.2; python_version > '3.5'
+mongoengine==0.27; python_version > '3.5'
mongomock==4.1.2
pytest==4.6.11; python_version <= '3.5'
12
pytest==7.1.3; python_version > '3.5'
0 commit comments