summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Add a PendingDeprecationWarning on associated class auto-discovery.Raphaël Barrois2012-01-13
| | | | 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>
* Rename LazyContainerAttibute to ContainerAttribute.Raphaël Barrois2012-01-12
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Added support for staticmethods on factories as well.Carl Meyer2012-01-12
|
* Added API test for classmethod on factory.Carl Meyer2012-01-12
|
* Merge branch 'master' into allow-public-classmethodsCarl Meyer2012-01-12
|\
| * Rearrange tests.Raphaël Barrois2012-01-12
| | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| * 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
|/
* Add tests for subfactory field overriding.Raphaël Barrois2012-01-08
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Publish the make_factory method, and make sure that complex declarations ↵Raphaël Barrois2012-01-06
| | | | | | work with it. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add factory.build(), factory.create(), factory.stub() methods.Raphaël Barrois2012-01-06
| | | | | | Those are shortcuts for writing a full Factory class. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Properly import the 'base' module in test_base.Raphaël Barrois2012-01-06
| | | | 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>
* Add a 'test' command to the setup.py script.Raphaël Barrois2011-12-21
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>