summaryrefslogtreecommitdiff
path: root/factory/containers.py
Commit message (Collapse)AuthorAge
* Improve the 'SelfAttribute' syntax.v1.1.0Raphaël Barrois2012-02-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve documentation.Raphaël Barrois2012-02-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Allow using '__' in factory.SelfAttribute.Raphaël Barrois2012-02-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add __repr__ / __str__ to a couple of objects.Raphaël Barrois2012-01-12
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Correct out-of-date docstring.Carl Meyer2012-01-12
|
* Added support for staticmethods on factories as well.Carl Meyer2012-01-12
|
* Clarify extended if check in DeclarationDict.update_with_public.Carl Meyer2012-01-12
|
* Merge branch 'master' into allow-public-classmethodsCarl Meyer2012-01-12
|\
| * Add support for 'LazyContainerAttribute', when a SubFactory field needs ↵Raphaël Barrois2012-01-12
| | | | | | | | | | | | access to attributes from its parent. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* | Allow public classmethods on factories.Carl Meyer2012-01-11
|/
* Cleanup 'factory.declarations'.Raphaël Barrois2011-12-21
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add encoding header.Raphaël Barrois2011-12-21
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update copyrights.Raphaël Barrois2011-12-21
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Rewrite all the 'OrderedDeclaration' part.Raphaël Barrois2011-09-06
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Update all tests, and fix a couple of bugs.Raphaël Barrois2011-09-06
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Huge refactoring and code cleanup.Raphaël Barrois2011-09-06
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Better fix for nested subfactories.Raphaël Barrois2011-09-05
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Handle nested SubFactory with extra attributes.Raphaël Barrois2011-09-05
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update docstrings.Raphaël Barrois2011-09-05
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fix the SubFactory/Sequence behaviour.Raphaël Barrois2011-05-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Add SubFactories, and full testing.Raphaël Barrois2011-05-16
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Add a DeclarationHolder containing all the logic related to attribute ↵Raphaël Barrois2011-05-16
| | | | | | declaration. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Cleaner code for ordered attributes.Raphaël Barrois2011-05-13
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Remove trailing whitespaceRaphaël Barrois2011-05-11
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* factory_boy: a test fixtures replacement based on thoughtbot's factory_girl ↵Mark Sandstrom2010-08-22
for Ruby