Bastien Gerard
ff596fcb7e
replace flake8-import-order by isort
2021-03-29 21:50:22 +02:00
Bastien Gérard
f4962fbc40
remove utf8 encoding declaration in test files as it's not needed/recommended
2020-10-30 21:10:21 +01:00
Bastien Gérard
d4350e7da4
Fix for ListField that isnt detecting properly that item 0 is changed
2020-10-10 23:32:22 +02:00
Bastien Gérard
ef7da36ac6
Update pre-commit and fix existing flake8 warnings once for all
2020-04-25 21:36:07 +02:00
Bastien Gérard
d738462139
Fix bug introduced in -1.19 related to DictField validate failing without default connection
2020-01-11 23:17:05 +01:00
Matt Simpson
b205314424
Add ability for dict keys to have . or $ in MongoDB >= 3.6
...
Starting in MongoDB >= 3.6, it is valid for dictionary keys to have $ or . in them as long as they don't start with $. Additional tests added.
2019-12-10 11:09:29 -05:00
Bastien Gérard
bc0c55e49a
improve tests health (flake8 warnings)
2019-10-31 23:01:27 +01:00
Bastien Gérard
3e764d068c
fix remaining assertRaises
2019-10-31 22:59:49 +01:00
Bastien Gérard
ac25f4b98b
ran unittest2pytest
2019-10-31 22:59:49 +01:00
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
Bastien Gérard
7ef688b256
Added a test for push in DictField (relates to #1679 )
2019-03-02 22:05:23 +01:00
Bastien Gérard
3cdb5b5db2
fix poor assert's in tests
2019-02-25 22:29:44 +01:00
Bastien Gérard
b9cc8a4ca9
refactor more field tests into submodules #1983
2019-02-24 10:24:12 +01:00