Stefan Wójcik
b47669403b
Format the codebase using Black ( #2109 )
...
This commit:
1. Formats all of our existing code using `black`.
2. Adds a note about using `black` to `CONTRIBUTING.rst`.
3. Runs `black --check` as part of CI (failing builds that aren't properly formatted).
2019-06-27 13:05:54 +02:00
erdenezul
597b962ad5
Merge pull request #2055 from bagerard/improve_test_cov
...
Improve test cov
2019-05-18 12:40:20 +02:00
Bastien Gérard
c82f0c937d
more work on coverage
2019-05-17 22:04:28 +02:00
Agustin Barto
2b17985a11
Uncomment tests.
2019-05-17 13:55:00 -03:00
Agustin Barto
b392e3102e
Add support to transform. Add pull tests for and .
2019-05-17 13:41:02 -03:00
Bastien Gérard
003827e916
rewrote some poorly written assertions like: assertTrue(isinstance(a, b)) assertTrue(a==b) assertTrue(a!=b) assertTrue(a in b)
2018-09-06 21:47:06 +02:00
erdenezul
317e844886
Merge pull request #1765 from kushalmitruka/master
...
fixed : `pull` not working for EmbeddedDocumentListField, only working for ListFields #1534
2018-05-03 09:44:54 +08:00
Kushal Mitruka
b1f62a2735
added import in tests/queryset/transform.py for SON object
2018-05-01 21:08:43 +05:30
Kushal Mitruka
65e4fea4ef
added test cases for update pull queries
2018-05-01 20:32:38 +05:30
erdenezul
72c4444a60
Merge branch 'master' into remove-pushall
2018-04-17 16:38:08 +08:00
Calgary Michael
38fdf26405
added tests for push and push_all
2018-02-04 10:23:50 -06:00
Andy Yankovsky
e90f6a2fa3
Fix update via pull__something__in=[]
2017-09-14 20:28:15 +03:00
Stefan Wójcik
835d3c3d18
Improve the health of this package ( #1428 )
2016-12-11 18:49:21 -05:00
Stefan Wójcik
3c455cf1c1
Improve health of this package ( #1409 )
...
* added flake8 and flake8-import-order to travis for py27
* fixed a test that fails from time to time depending on an order of a dict
* flake8 tweaks for the entire codebase excluding tests
2016-11-28 19:00:34 -05:00
Victor
327e164869
Fix for #1176 -- similar to https://github.com/MongoEngine/mongoengine/pull/982 but for update
.
2016-09-04 08:12:17 +03:00
Matthieu Rigal
a2f0f20284
Improve error message for invalid query
2015-06-11 17:48:34 +02:00
Eremeev Danil
aab0599280
test moved to another file, cosmetical fixes
2015-05-07 10:55:35 +05:00
David Bordeynik
225c31d583
Fix #766 : Add support for operator
2015-02-15 15:05:07 +02:00
Ross Lawley
6925344807
Test updates
2013-11-29 12:01:14 +00:00
Ross Lawley
6db59a9c31
Fix setting Geo Location fields ( #488 )
2013-11-29 11:41:54 +00:00
Ross Lawley
5e70e1bcb2
Update transform to handle docs erroneously passed to unset ( #416 )
2013-07-30 13:17:38 +00:00
Ross Lawley
e58b3390aa
Removed import with from future
2013-05-01 08:48:14 +00:00
Ross Lawley
0d0befe23e
Removed __len__ from queryset ( #247 )
2013-04-22 16:19:55 +00:00
Ross Lawley
72dd9daa23
Fixing py3.3 tests
2013-01-09 16:16:48 +00:00
Ross Lawley
50b755db0c
Split out queryset tests
2012-12-19 13:35:37 +00:00