summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Deprecate the extract_prefix option to PostGeneration.Raphaël Barrois2013-03-03
| | | | | | Introduces a new, call-less syntax for the @post_generation decorator. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Tests: improve deprecation warning detection in test_base.Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Tests: move disable_warnings to its own class.Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve Iterator and SubFactory declarations.Raphaël Barrois2013-03-03
| | | | | | | | | | | | * Iterator now cycles by default * Iterator can be provided with a custom getter * SubFactory accepts a factory import path as well Deprecates: * InfiniteIterator * CircularSubFactory Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve testing helpers.Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add a Makefile.Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Rewrite the whole documentation.Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add test for dual class/factory inheritance.Raphaël Barrois2013-02-27
| | | | | | If it works properly, this would make pylint happy. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* README: fix download section.Raphaël Barrois2013-02-10
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve README.Raphaël Barrois2013-02-10
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Happy New Year!Raphaël Barrois2013-01-02
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fix version numbering.Raphaël Barrois2012-12-09
| | | | | | Somehow, I forgot that I had release 1.2.0 :/ Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Add classmethod decorator to child factories methodsobiwanus2012-12-09
| | | | | | Closes #33,#34 Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Fix pk lookup in _setup_next_sequence method.Eduard Iskandarov2012-12-09
| | | | | | Closes #31 Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Update my email;Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update docRaphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update ChangeLog.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Keep FACTORY_FOR around.Raphaël Barrois2012-11-15
| | | | | | And add a test too. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Rename ABSTRACT_FACTORY to FACTORY_ABSTRACT.Raphaël Barrois2012-11-15
| | | | | | And add a deprecation warning too. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add MogoFactory.Raphaël Barrois2012-11-15
| | | | | | A Factory subclass, along the lines of DjangoModelFactory. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add an extension point for kwargs mangling.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update docstrings.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Remove deprecated _*_function class attributes.Raphaël Barrois2012-11-15
| | | | | | Setting them will still work as intended, though. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Mix SelfAttribute with ContainerAttribute.Raphaël Barrois2012-11-15
| | | | | | With a very simple syntax. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* [py3] Various python3-compatibility fixes.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* [py3] Rename xrange to rangeRaphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* [py3] Disable 'scope bleeding' test on py3.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* [py3] Remove calls to iteritems().Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Use proper relative/absolute imports.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add roadmap for 2.0.0.Raphaël Barrois2012-08-17
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add support for passing non-kwarg parameters to factories.Raphaël Barrois2012-08-17
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add ChangeLog.Raphaël Barrois2012-08-17
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve test coverage.Raphaël Barrois2012-08-16
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Disable new warnings in tests.Raphaël Barrois2012-08-16
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add DeprecationWarnings on set_XXX_function.Raphaël Barrois2012-08-16
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Refactor building_function/creation_function handling.Raphaël Barrois2012-08-16
| | | | | | Rely on inheritance instead of handwritten set_creation_function and such. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Mark automatic associated class discovery as deprecated.Raphaël Barrois2012-08-16
| | | | | | Also improve warning reporting. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Explicitly set FACTORY_FOR in tests.Raphaël Barrois2012-08-16
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add full tests for CircularSubFactory.Raphaël Barrois2012-08-16
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Merge pull request #25 from msabramo/syntax-highlightingRaphaël Barrois2012-08-08
|\ | | | | Add syntax highlighting with code-block to README.rst
| * Add syntax highlighting with code-block to README.rstMarc Abramowitz2012-07-19
| |
* | Version bump.v1.2.0factory_boy-1.2.0Raphaël Barrois2012-08-09
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* | Introduce 'CircularSubFactory.Raphaël Barrois2012-08-09
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* | Better version computing code.Raphaël Barrois2012-08-09
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* | utils.multi_extract_dict: improve docstring.Raphaël Barrois2012-07-10
|/ | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Merge pull request #21 from msabramo/py3_try3Raphaël Barrois2012-07-10
|\ | | | | utils.multi_extract_dict: use key= argument to sorted instead of cmp=.
| * Switch `sorted` argument from `cmp` to `key`.Marc Abramowitz2012-07-10
|/
* Update doc version.Raphaël Barrois2012-07-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Version bumpv1.1.51.1.5Raphaël Barrois2012-07-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fix PostGenerationDeclaration.extract.Raphaël Barrois2012-07-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>