Source

djangotoolbox / djangotoolbox / tests.py

Author Commit Message Labels Comments Date
Default avatar Jonas Haag
Fixed some auto_now{,add} edge cases with embedded models.
Default avatar Jonas Haag
Fixed 'add' parameter of embedded models in lists
Default avatar Jonas Haag
Improved an error message
Default avatar Jonas Haag
Fixed loading of EmbeddedModelFields that use a custom db_column.
Default avatar Jonas Haag
Fix #9: Allow field classes to be passed to fields (not only field instances)
Default avatar Jonas Haag
Fix #39: Don't call convert_value_from_db for fields' default values
Default avatar Jonas Haag
Fixed #7: Exclude unset primary keys from embedded model instances.
Thomas Wanschik avatarThomas Wanschik
Thomas Wanschik avatarThomas Wanschik
fixed test so that running them on production works correctly
Waldemar Kornewald avatarWaldemar Kornewald
Tests that make sure we can sort embedded models in lists nicely. Contributed by Jonas Haag.
Waldemar Kornewald avatarWaldemar Kornewald
Adds test cases that assert that ordering happens only once for each save (and also happens *before* any data type conversions). Also fixes the code accordingly. Contributed by Jonas Haag.
Waldemar Kornewald avatarWaldemar Kornewald
Adds a test case for nice TypeErrors in EmbeddedModelField's seriaization method, plus one fix to make the tests pass (nice error messages should also be used in the "untyped" case) Contributed by Jonas Haag.
Waldemar Kornewald avatarWaldemar Kornewald
fixed ForeignKey support in embedded models. thanks for the patch Jonas Haag!
Waldemar Kornewald avatarWaldemar Kornewald
extended select_related unit test
Waldemar Kornewald avatarWaldemar Kornewald
disabled select_related by default and added unit test to make sure everything works
Waldemar Kornewald avatarWaldemar Kornewald
added unit test for post_save "created" parameter
Waldemar Kornewald avatarWaldemar Kornewald
added support for lazy lookups of models to EmbeddedModelField. Thanks to Jonas Haag for the patch
Waldemar Kornewald avatarWaldemar Kornewald
added support for EmbeddedModelField. Thanks to Jonas Haag for the patch! only slightly modified his patch
Waldemar Kornewald avatarWaldemar Kornewald
switched to unittest2 library's skipIf (now part of Django 1.3)
Waldemar Kornewald avatarWaldemar Kornewald
fixed support for null=True in fields. thanks to Jonas Haag for the patch
Waldemar Kornewald avatarWaldemar Kornewald
Vladimir Mihailenco avatarVladimir Mihailenco
Support for proxy models
Waldemar Kornewald avatarWaldemar Kornewald
added value conversion test
Waldemar Kornewald avatarWaldemar Kornewald
renamed GenericField to RawField to make it clearer what it does (i.e., you can pass any low-level datatype in there and it'll be stored without any field-specific conversion, so not all field-specific types might be supported: e.g. GAE doesn't support date and time objects, only datetime)
Waldemar Kornewald avatarWaldemar Kornewald
added SetField and DictField and extended ListField with ordering support (all contributed by Jonas Haag). only the (very simple) unit tests are by me (added check if dicts are supported by the DB, for instance)
Waldemar Kornewald avatarWaldemar Kornewald
removed unused imports
Waldemar Kornewald avatarWaldemar Kornewald
hmm, didn't work correctly in all cases, so reverting
Waldemar Kornewald avatarWaldemar Kornewald
fixed foreignkey__isnull=True queries by rewriting them to not use a JOIN
Default avatar fhahn
remove tests for NonrelPermissionBackend
Default avatar fhahn
re-enable other tests
  1. Prev
  2. 1
  3. 2
  4. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.