summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* Fix TestCase name conflictRaphaël Barrois2012-07-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Version bump to 1.1.4v1.1.4Raphaël Barrois2012-06-19
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Merge pull request #17 from michaeljoseph/patch-1Raphaël Barrois2012-06-06
|\ | | | | Two small typos
| * Typo: thoughtbot (fixes link too)Michael Joseph2012-06-06
| |
| * Typo.Michael Joseph2012-06-06
|/
* Fix sequence count for SubFactory (Closes #16).Raphaël Barrois2012-06-01
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Add link to travis-ci build status image.Raphaël Barrois2012-05-04
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Try to install unittest2 on python-2.6 for travis-ci.Raphaël Barrois2012-05-04
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Enable builds for python-2.6 on travis-ci.Raphaël Barrois2012-05-04
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Only absorb dependant arguments for SubFactory fields (Closes #15).Raphaël Barrois2012-05-04
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Typo in PostGenerationMethodCall.__init__ (Closes #14).Raphaël Barrois2012-05-02
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Fix typo in docs/subfactory.rst (Closes #13).Raphaël Barrois2012-05-01
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fixed documentation link.Raphaël Barrois2012-04-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Cleaner link.Raphaël Barrois2012-04-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Add link to documentation on first page.Raphaël Barrois2012-04-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Merge pull request #11 from kmike/test-improvementsRaphaël Barrois2012-04-15
|\ | | | | Use a proper shebang (/usr/bin/env) for setup.py
| * proper shebang for setup.pyMikhail Korobov2012-04-10
| |
* | Add doc for post_generation hooks.Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Rename post_declaration to post_generation.Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Expose and test factory.RelatedFactory.Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Handle the PostGeneration declarations.Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Add PostGenerationDeclarationDict (cf. DeclarationDict).Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Whitespace cleanupRaphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Make tests compatible with python2.6 + unittest2Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Add basis for PostGenerationDeclarationRaphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* | Cleaner extract_dict: allow excluded keys.Raphaël Barrois2012-04-15
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* | Merge pull request #9 from kmike/test-improvementsRaphaël Barrois2012-04-10
|\| | | | | Test running improvements
| * 2 bytes less to downloadMikhail Korobov2012-04-10
| |
| * Test running improvements: tests can be run under python 2.6 (by using ↵Mikhail Korobov2012-04-10
|/ | | | optional unittest2), tox config for testing under different pythons, explicit python version requirements (factory_boy works with python 2.6 and 2.7); ./setup.py test returns proper error code in case of test failure.
* Move ATTR_SPLITTER logic to a dedicated module.Raphaël Barrois2012-04-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fix tests.Raphaël Barrois2012-04-07
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fix the __str__ method of factory classes.Raphaël Barrois2012-04-07
|
* Add and document abstract factories (Closes #8).Raphaël Barrois2012-04-07
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>