@@ -4,7 +4,7 @@ MongoEngine
44:Info: MongoEngine is an ORM-like layer on top of PyMongo.
55:Repository: https://github.com/MongoEngine/mongoengine
66:Author: Harry Marr (http://github.com/hmarr)
7- :Maintainer: Stefan Wójcik (http://github.com/wojcikstefan )
7+ :Maintainer: Bastien Gerard (http://github.com/bagerard )
88
99.. image :: https://travis-ci.org/MongoEngine/mongoengine.svg?branch=master
1010 :target: https://travis-ci.org/MongoEngine/mongoengine
@@ -21,6 +21,10 @@ MongoEngine
2121.. image :: https://img.shields.io/pypi/v/mongoengine.svg
2222 :target: https://pypi.python.org/pypi/mongoengine
2323
24+
25+ .. image :: https://readthedocs.org/projects/mongoengine-odm/badge/?version=latest
26+ :target: https://readthedocs.org/projects/mongoengine-odm/builds/
27+
2428About
2529=====
2630MongoEngine is a Python Object-Document Mapper for working with MongoDB.
@@ -31,7 +35,7 @@ an `API reference <https://mongoengine-odm.readthedocs.io/apireference.html>`_.
3135
3236Supported MongoDB Versions
3337==========================
34- MongoEngine is currently tested against MongoDB v3.6, v4.0, v4.4 and v5 .0. Future versions
38+ MongoEngine is currently tested against MongoDB v3.6, v4.0, v4.4, v5.0, v6.0 and v7 .0. Future versions
3539should be supported as well, but aren't actively tested at the moment. Make
3640sure to open an issue or submit a pull request if you experience any problems
3741with a more recent MongoDB versions.
@@ -125,8 +129,7 @@ Some simple examples of what MongoEngine code looks like:
125129 Tests
126130=====
127131To run the test suite, ensure you are running a local instance of MongoDB on
128- the standard port and have ``pytest `` installed. Then, run ``python setup.py test ``
129- or simply ``pytest ``.
132+ the standard port and have ``pytest `` installed. Then, run ``pytest tests/ ``.
130133
131134To run the test suite on every supported Python and PyMongo version, you can
132135use ``tox ``. You'll need to make sure you have each supported Python version
@@ -139,15 +142,6 @@ installed in your environment and then:
139142 # Run the test suites
140143 $ tox
141144
142- If you wish to run a subset of tests, use the pytest convention:
143-
144- .. code-block :: shell
145-
146- # Run all the tests in a particular test file
147- $ pytest tests/fields/test_fields.py
148- # Run only particular test class in that file
149- $ pytest tests/fields/test_fields.py::TestField
150-
151145 Community
152146=========
153147- `MongoEngine Users mailing list
0 commit comments