summaryrefslogtreecommitdiff
path: root/tests/test_base.py
Commit message (Expand)AuthorAge
* Add Factory.reset_sequence.Raphaël Barrois2013-06-10
* Add Dict/List declarations (Closes #18).Raphaël Barrois2013-04-15
* Nit: cleanup name of test methods.Raphaël Barrois2013-04-03
* Fix exception hierarchy.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2013-03-15
* Merge BaseFactoryMetaClass into FactoryMetaClass.•••Also fix FACTORY_STRATEGY. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2013-03-15
* Remove automagic associated class discovery.Raphaël Barrois2013-03-11
* Get rid of the FACTORY_ABSTRACT rename.•••This was just adding noise to an already complex release. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2013-03-03
* Tests: improve deprecation warning detection in test_base.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2013-03-03
* Happy New Year!•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2013-01-02
* Keep FACTORY_FOR around.•••And add a test too. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-11-15
* Rename ABSTRACT_FACTORY to FACTORY_ABSTRACT.•••And add a deprecation warning too. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-11-15
* [py3] Remove calls to iteritems().•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-11-15
* Refactor building_function/creation_function handling.•••Rely on inheritance instead of handwritten set_creation_function and such. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-08-16
* Mark automatic associated class discovery as deprecated.•••Also improve warning reporting. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-08-16
* Explicitly set FACTORY_FOR in tests.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-08-16
* Only absorb dependant arguments for SubFactory fields (Closes #15).•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-05-04
* Make tests compatible with python2.6 + unittest2•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2012-04-15
* Test running improvements: tests can be run under python 2.6 (by using option...Mikhail Korobov2012-04-10
* Add a '@use_strategy' decorator for forcing alternate strategies.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-03-17
* Add a PendingDeprecationWarning on associated class auto-discovery.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-13
* Add __repr__ / __str__ to a couple of objects.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-12
* Rearrange tests.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-12
* Add support for 'LazyContainerAttribute', when a SubFactory field needs acces...•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-12
* Add tests for subfactory field overriding.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-08
* Publish the make_factory method, and make sure that complex declarations work...•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-06
* Add factory.build(), factory.create(), factory.stub() methods.•••Those are shortcuts for writing a full Factory class. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-06
* Properly import the 'base' module in test_base.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2012-01-06
* Add encoding header.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2011-12-21
* Update copyrights.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2011-12-21
* Add a 'test' command to the setup.py script.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> Raphaël Barrois2011-12-21