erdenezul
55fc04752a
Merge pull request #1903 from bagerard/mongodb_32
...
Fixed tests to allow support of MongoDB 3.2 + Drop Mongo2.4 from CI
2018-10-01 10:37:12 +08:00
Bastien Gérard
96f0919633
- Fixed tests to allow support of MongoDB 3.2
...
- Replaced MongoDB 2.4 tests in CI by MongoDB 3.2
2018-09-30 21:59:15 +02:00
Bastien Gérard
45c2151d0f
Fix side effect of no_dereference on GenericReferenceField
2018-09-25 22:56:57 +02:00
Bastien Gérard
f83ae5789b
fix side effect from queryset's no_dereference #1677
2018-09-16 23:11:45 +02:00
erdenezul
e79ea7a2cf
Merge branch 'master' into limit_behaviour
2018-09-07 15:34:23 +08:00
erdenezul
8f76e1e344
Merge branch 'master' into refactoring_poor_assertions_in_tests
2018-09-07 14:37:28 +08:00
erdenezul
5b1693a908
Merge pull request #1871 from bagerard/improve_query_counter
...
Fix few things related to query_counter context manager
2018-09-07 14:22:12 +08: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
Bastien Gérard
a25d127f36
Remove DictField.basecls related code, it is useless
2018-09-04 20:51:06 +02:00
erdenezul
29889d1e35
Merge pull request #1868 from bagerard/yalon-master
...
CLONE - When building a query set from filters that reference the same field several times, do not assume each value is a dict
2018-09-04 21:17:49 +08:00
Bastien Gérard
ab08e67eaf
fix inc/dec operator with decimal
2018-09-04 14:53:55 +02:00
Bastien Gérard
8ff82996fb
Fix few things related to query_counter context manager:
...
- Improve doc
- Fix the fact that the context was modifying the initial profiling_level in case it was != 0
- Ignores 'killcursors' to fix flaky test that were impacted by killcursors queries (#1869 )
2018-09-04 12:07:13 +02:00
Bastien Gérard
d59c4044b7
Merge branch 'master' of https://github.com/MongoEngine/mongoengine into yalon-master
2018-09-03 11:23:28 +02:00
Bastien Gérard
86548fc7bf
Document the attribute of .from_json
2018-08-28 22:42:51 +02:00
Tal Yalon
080226dd72
Fix issue #1286 and #844.: when building a query set from filters that reference the same field several times, do not assume each value is a dict
2018-06-22 14:16:17 +03:00
erdenezul
3cb6a5cfac
Merge pull request #1575 from zetaben/master
...
Make queryset aggregates obey read_preference
2018-05-24 22:23:49 +08:00
Erdenezul Batmunkh
9bd328e147
query_counter fix
2018-05-21 10:04:59 +08:00
Erdenezul Batmunkh
6fb5c312c3
fix test error
2018-05-21 09:54:19 +08:00
Erdenezul Batmunkh
3f9ff7254f
fix queryset tests
2018-05-21 09:46:23 +08:00
Erdenezul Batmunkh
f7a3acfaf4
query profiler test fix
2018-05-21 09:34:44 +08:00
Erdenezul Batmunkh
e4451ccaf8
insert_many uses only one insert
2018-05-21 09:24:40 +08:00
Erdenezul Batmunkh
2adb640821
modify bulk_insert test for pymongo3
2018-05-21 09:19:03 +08:00
Erdenezul Batmunkh
fc5d9ae100
pymongo3 does not support continue_on_error
2018-05-20 18:39:22 +08:00
Erdenezul Batmunkh
506168ab83
use write_concern class
2018-05-20 18:25:50 +08:00
Erdenezul Batmunkh
0da8fb379d
Merge remote-tracking branch 'calgary/issue-1491' into update_pymongo3
2018-05-20 12:38:22 +08:00
erdenezul
a2d3bcd571
Merge pull request #1562 from erdenezul/support_multiple_operator
...
support multiple operator #1510
2018-05-20 12:20:04 +08:00
Andy Yankovsky
5a6d4387ea
Restore comment from cached value after cursor copy
2018-05-07 23:17:12 +03:00
Calgary Michael
4d5c6d11ab
removed deprecated warning for 'update' method
2018-02-02 22:04:30 -06:00
erdenezul
18a5fba42b
Revert "add tests to increase code coverage"
2017-12-22 20:19:21 +08:00
erdenezul
b5a3b6f86a
Merge pull request #1645 from erdenezul/inc_cov
...
add tests to increase code coverage
2017-12-22 20:14:31 +08:00
Erdenezul Batmunkh
b35efb9f72
fix validatione error for invalid embedded document instance #1067
2017-12-01 08:37:53 +08:00
Emmanuel Leblond
4d6256e1a1
Merge pull request #1675 from erdenezul/push_list_of_list
...
use each modifier only with $position #1673
2017-11-15 08:43:29 +01:00
Erdenezul
9ab856e186
use each modifier only with #1673
2017-10-10 10:34:34 +08:00
Erdenezul Batmunkh
be8f1b9fdd
add failing test for generic_emdedded_document query #1651
2017-09-14 22:24:27 +09:00
Erdenezul Batmunkh
ba99190f53
add tests to increase coverage
2017-09-10 13:09:20 +09:00
Erdenezul Batmunkh
70088704e2
add tests to increase code coverage
2017-09-10 01:37:17 +09:00
Ali Turki
ee5686e91a
test case for #1602
2017-08-07 11:12:15 +01:00
Ali
2a795e9138
QuerySet limit function now returns all docs in cursor when 0 is passed
2017-08-04 11:31:29 +01:00
erdenezul
9a6aa8f8c6
Merge branch 'master' into support_multiple_operator
2017-07-31 22:53:01 +08:00
Erdenezul Batmunkh
34fca9d6f5
Add clear comment and tests for positional push #1565
2017-07-31 18:32:34 +08:00
Erdenezul Batmunkh
433f10ef93
position support singular value #1565
2017-07-31 05:15:34 +00:00
Erdenezul Batmunkh
3dcc9bc143
use explicit tests and fix unneccessary indent #1565
2017-07-13 22:59:21 +08:00
Benoit Larroque
0bc6507df3
Make queryset aggregates obey read_preference
2017-06-27 08:49:06 +02:00
Erdenezul Batmunkh
f63ad2dd69
dont test in mongoDB v2.4 #1565
2017-06-15 07:36:14 +00:00
Erdenezul Batmunkh
6903eed4e7
support position in 'push' #1565
2017-06-15 06:08:40 +00:00
Erdenezul Batmunkh
b9e922c658
support multiple operator #1510
2017-06-12 04:50:13 +00:00
Stefan Wójcik
3b88712402
Cleaner as_pymongo ( #1549 )
2017-05-08 00:02:42 -04:00
Stefan Wojcik
e2a0b42d03
clarify test_get_changed_fields_query_count
2017-04-30 18:29:22 -04:00
Stefan Wojcik
b78010aa94
remove test_last_field_name_like_operator (it's a dupe of the same test in tests/queryset/transform.py)
2017-03-05 21:24:46 -05:00
Omer Katz
2bedb36d7f
Test against multiple MongoDB versions in Travis ( #1074 )
2017-02-26 14:52:43 -05:00