| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
* Add myself to Uploaders
* Add build dependencies on fake-factory and python-ipaddress
* Bump Standards-Version to 3.9.8 (no changes required)
* Change the gbp.conf upstream-tag to include the v prefix, as this makes
git-buildpackage able to find the tags
|
|\
| |
| |
| | |
Release of factory_boy 2.7.0
|
| | |
|
| | |
|
| |\
| | |
| | | |
Add custom error message when django_get_or_create is missing an input.
|
| |/ |
|
| | |
|
| |\
| | |
| | | |
Don't leave AttributeBuilder in an inconsistent state on exceptions
|
| | |
| | |
| | |
| | |
| | |
| | | |
When one of the LazyValues raises an exception, don't leave its name
in __pending stack of the AttributeBuilder, preventing evaluation of
any other LazyValues.
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
sampaccoud/feature/add-documentation-and-test-about-factory-parent-attribute
Add documentation and test for subfactory using "factory_parent" attribute
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add documentation on how to use a LazyAttribute in a SubFactory and poke
the "factory_parent" attribute to indirectly derive the value of a field
on the child factory from a field on the parent factory. This commit adds
an example to recipes that explains how it can be done. It also adds a
test to make sure that this feature continues to work as is now described
in the documentation.
|
| | | |
| | | |
| | | |
| | | | |
Also, use check_manifest to check for MANIFEST.in / git mismatches.
|
| |/ /
| | |
| | |
| | | |
Closes #273.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Based on a boolean flag, those will alter the definitions of the current
factory, taking precedence over pre-defined behavior but overridden by
callsite-level arguments.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This handles parameters that alter the declarations of a factory.
A few technical notes:
- A parameter's outcome may alter other parameters
- In order to fix that, we perform a (simple) cyclic definition
detection at class declaration time.
- Parameters may only be either naked values or ComplexParameter
subclasses
- Parameters are never passed to the underlying class
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
That section described code required when factory_boy was automagically
computing sequence numbers from the current PK value.
Closes #280
|
| | |
| | |
| | |
| | | |
See issue #280.
|
| |\ \
| | | |
| | | | |
Stop advertising factory_boy supports Python 2.6
|
| | | |
| | | |
| | | |
| | | | |
Support was already gone with literal sets.
|
| | | |
| | | |
| | | |
| | | | |
This trick should help with #68.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Full discussion in https://github.com/rbarrois/factory_boy/issues/271
Wanted to get something mentioned in the docs immediately.
|
| |\ \ \
| | | | |
| | | | | |
Clarify sequence behavior on inheritance
|
| | | |/
| | |/|
| | | | |
Sequences are only shared via inheritance if the model of the subclass is the same as or a subclass of the model of the parent class. Clarify the docs on this point.
|
| | | |
| | | |
| | | | |
https://docs.travis-ci.com/user/migrating-from-legacy/
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The ``_now()`` method wasn't declared on the base class, only in its
subclasses.
|
| |\ \ \
| | | |/
| | |/| |
factory: LazyFunction to just call a function in the simplest case
|
| | | |
| | | |
| | | |
| | | | |
No need to wrap it in a lambda to strip the object argument from LazyAttribute or the sequence argument from Sequence.
|
| |\ \ \
| | |/ /
| |/| | |
Remove a nonexisting argument "tz" from FuzzyDateTime docs
|
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Added python(3)-wheel build dependency.
* Fixed VCS url (https).
* Removed disable-a-test-in-test_existing_file.patch
* Removed add-django-1.7-compat-with-new-django.setup.patch
* Rebased and fixed debian/patches/removed-privacy-breach.patch
* d/copyright fixed.
|
|\| |
| | |
| | |
| | | |
Release of factory_boy 2.6.1
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Make safe repr more safe
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Fixed spelling of word "independent".
|
| | | |/
| | |/| |
|
| |\ \ \ |
|
| | | | | |
|
| | |/ /
| | | |
| | | |
| | | | |
fixes rbarrois/factory_boy#81
|
| | | |
| | | |
| | | |
| | | | |
Thanks to @jeffwidman for suggesting this!
|