Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow using '__' in factory.SelfAttribute. | Raphaël Barrois | 2012-02-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add a PendingDeprecationWarning on associated class auto-discovery. | Raphaël Barrois | 2012-01-13 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add __repr__ / __str__ to a couple of objects. | Raphaël Barrois | 2012-01-12 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Rename LazyContainerAttibute to ContainerAttribute. | Raphaël Barrois | 2012-01-12 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Correct out-of-date docstring. | Carl Meyer | 2012-01-12 |
| | |||
* | Added support for staticmethods on factories as well. | Carl Meyer | 2012-01-12 |
| | |||
* | Clarify extended if check in DeclarationDict.update_with_public. | Carl Meyer | 2012-01-12 |
| | |||
* | Merge branch 'master' into allow-public-classmethods | Carl Meyer | 2012-01-12 |
|\ | |||
| * | Rearrange tests. | Raphaël Barrois | 2012-01-12 |
| | | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
| * | Add support for 'LazyContainerAttribute', when a SubFactory field needs ↵ | Raphaël Barrois | 2012-01-12 |
| | | | | | | | | | | | | access to attributes from its parent. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | | Allow public classmethods on factories. | Carl Meyer | 2012-01-11 |
|/ | |||
* | Publish the make_factory method, and make sure that complex declarations ↵ | Raphaël Barrois | 2012-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 Barrois | 2012-01-06 |
| | | | | | | Those are shortcuts for writing a full Factory class. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Cleanup 'factory.declarations'. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Cleanup 'factory.declarations'. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | More cleanup and comments in factory.base | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Cleanup base module. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add encoding header. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Update copyrights. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add a 'test' command to the setup.py script. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Allow custom 'build' functions. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add utf8 file headers. | Raphaël Barrois | 2011-12-20 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Version bump, author info updated. | Raphaël Barrois | 2011-12-20 |
| | | | | | | Getting ready for PyPI upload. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Django models always have a _default_manager attribute; .objects may not be ↵ | Raphaël Barrois | 2011-12-12 |
| | | | | a manager. | ||
* | Rewrite all the 'OrderedDeclaration' part. | Raphaël Barrois | 2011-09-06 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Bugfix for stub. | Raphaël Barrois | 2011-09-06 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Update all tests, and fix a couple of bugs. | Raphaël Barrois | 2011-09-06 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Huge refactoring and code cleanup. | Raphaël Barrois | 2011-09-06 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Better fix for nested subfactories. | Raphaël Barrois | 2011-09-05 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Handle nested SubFactory with extra attributes. | Raphaël Barrois | 2011-09-05 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Update docstrings. | Raphaël Barrois | 2011-09-05 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Allow inheriting from more than one factory. | Raphaël Barrois | 2011-08-22 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Cleanup rmoch's DjangoModelFactory fix. | Raphaël Barrois | 2011-08-18 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Bugfix DjangoModelFactory | Richard Moch | 2011-08-17 |
| | |||
* | Use the same sequence counter for parent and child classes. | Raphaël Barrois | 2011-08-10 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Allow the definition of 'abstract' factories. | Raphaël Barrois | 2011-08-03 |
| | | | | | | Needs more testing. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Add a 'DjangoModelFactory'. | Raphaël Barrois | 2011-08-03 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Allow users to define a custom method for retrieving the first sequence of a ↵ | Raphaël Barrois | 2011-07-05 |
| | | | | | | given factory. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Add a new type of attribute, SelfAttribute. | Raphaël Barrois | 2011-06-13 |
| | | | | | | Should be used as a shortcut for 'lambda o: o.some_attr' ; most useful in SubFactories. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Add tests for nice behaviour of SubFactory. | Raphaël Barrois | 2011-06-13 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Fix the SubFactory/Sequence behaviour. | Raphaël Barrois | 2011-05-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Prevent inherited classes from affecting superclasses. | Raphaël Barrois | 2011-05-16 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Add SubFactories, and full testing. | Raphaël Barrois | 2011-05-16 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Move tests. | Raphaël Barrois | 2011-05-16 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Add a DeclarationHolder containing all the logic related to attribute ↵ | Raphaël Barrois | 2011-05-16 |
| | | | | | | declaration. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Cleaner code for ordered attributes. | Raphaël Barrois | 2011-05-13 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Improve handling of custom build/create functions. | Raphaël Barrois | 2011-05-13 |
| | | | | | | Only public attributes (i.e not starting with _) will be handled properly. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Improve base.py: use pop(), allow factory inheritance. | Raphaël Barrois | 2011-05-12 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Fix concurrency between declarations for LazyAttributes and Sequence. | Raphaël Barrois | 2011-05-11 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | ||
* | Remove trailing whitespace | Raphaël Barrois | 2011-05-11 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> |