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
6e1c132ee8
Improve minor things in the tests
2019-05-26 22:17:58 +02:00
Bastien Gérard
35b7efe3f4
refactored deprecated pymongo methods in tests
...
- remove/count/add_user/insert
- added pymongo_support
2019-03-02 00:28:38 +01:00
Bastien Gérard
c60c2ee8d0
fix minor styling issue in tests
2019-02-25 22:33:36 +01: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
48a85ee6e0
update related tests
2018-08-20 00:10:27 +02:00
bagerard
b27c7ce11b
allow to use sets in field choices ( #1482 )
2017-02-15 08:51:47 -05:00
Stefan Wójcik
835d3c3d18
Improve the health of this package ( #1428 )
2016-12-11 18:49:21 -05:00
Matthieu Rigal
0aeb1ca408
Various fixes again
2015-06-24 00:50:36 +02:00
Charanpal Dhanjal
ad81470d35
Put space after hash
2015-06-02 10:17:17 +01:00
Charanpal
2753e02cda
Fix for case where Document is deleted and it's files (FieldFields) in GridFS remain.
2015-05-23 14:46:56 +01:00
J. Fernando Sánchez
2d075c4dd6
Added test for new_file after saved as none. #714
2015-03-23 12:21:21 +02:00
Omer Katz
8e852bce02
Pillow provides a more descriptive error message, therefor the build failure.
2014-06-25 10:58:00 +03:00
Ross Lawley
6925344807
Test updates
2013-11-29 12:01:14 +00:00
Ross Lawley
d8ffa843a9
Added str representation of GridFSProxy ( #424 )
2013-07-31 09:29:41 +00:00
Ross Lawley
d9f538170b
Added get_proxy_object helper to filefields ( #391 )
2013-07-10 21:19:11 +00:00
Ross Lawley
e5648a4af9
ImageFields now include PIL error messages if invalid error ( #353 )
2013-06-05 11:45:08 +00:00
Ross Lawley
d94a191656
Updated Changelog added test for #341
2013-06-04 10:20:24 +00:00
Ross Lawley
ceece5a7e2
Improved PIL detection for tests
2013-06-03 13:38:58 +00:00
Ross Lawley
c5ce96c391
Fix py3 test
2013-05-23 19:44:05 +00:00
Ross Lawley
1eb6436682
Added get image by grid_id example
2013-05-22 10:29:45 +00:00
Ross Lawley
e58b3390aa
Removed import with from future
2013-05-01 08:48:14 +00:00
Ross Lawley
3653981416
Added ImageField support for inline replacements ( #86 )
2013-04-23 15:12:57 +00:00
Ross Lawley
39dac7d4db
Fix file open rules
2013-01-28 16:26:01 +00:00
Ross Lawley
1ca098c402
Fixed invalid choices error bubbling ( #214 )
2013-01-28 14:40:26 +00:00