summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* LintRaphaël Barrois2013-09-24
|
* Properly handle Sequence & inheritance (Closes #93).Raphaël Barrois2013-09-17
| | | | | There was also a nasty bug: with class FactoryB(FactoryA), FactoryB's sequence counter started at the value of FactoryA's counter when FactoryB was first called.
* Add 'factory.debug' context manager.Raphaël Barrois2013-09-17
|
* Fix mongoengine connection.Raphaël Barrois2013-09-14
|
* Use temporary mongo databases for tests.Raphaël Barrois2013-09-14
|
* Adding factory support for mongoengine (Closes #89).Jonathan Tushman2013-09-13
|
* Allow FACTORY_FOR = 'app.Model' for Django (Closes #66).Raphaël Barrois2013-08-28
|
* More fixes to testsv2.1.2Raphaël Barrois2013-08-14
|
* Fix setup.py post-setuptools/distribute merge.Raphaël Barrois2013-08-14
|
* Make ABSTRACT_FACTORY optional (Closes #74)Raphaël Barrois2013-08-13
| | | | | | | | It will be automatically set to True if neither the Factory subclass nor its parents define a FACTORY_FOR argument. It can also be set on a Factory subclass to prevent it from being called.
* Fix default color for factory.django.ImageFieldRaphaël Barrois2013-07-02
|
* tests: Safer againt not-installed Django.Raphaël Barrois2013-06-27
|
* Get safe against missing PIL.Raphaël Barrois2013-06-27
|
* Add factory.django.ImageField (Closes #52).Raphaël Barrois2013-06-27
|
* Fix tests for sqlalchemy.Raphaël Barrois2013-06-20
| | | | Also add them to travis.
* Fixed SQLAlchemy tests on Python32minimumserious2013-06-20
|
* Added some tests for SQLAlchemyModelFactoryminimumserious2013-06-20
|
* Fix FileField (bytes instead of str)Raphaël Barrois2013-06-15
|
* Add factory.django.FileField (See #52)Raphaël Barrois2013-06-15
|
* Fix coverageRaphaël Barrois2013-06-15
|
* Cleanup PostGenerationDeclaration extraction context.Raphaël Barrois2013-06-15
|
* Add tests for RelatedFactory extraction.Raphaël Barrois2013-06-15
|
* Add Iterator.reset() (Closes #63).Raphaël Barrois2013-06-15
|
* Properly handle passed-in None in RelatedFactory (Closes #62).Raphaël Barrois2013-06-14
| | | | Thanks to @Dhekke for the help!
* Factor lazy Factory import code.Raphaël Barrois2013-06-10
|
* Add django-based tests for DjangoModelFactory.Raphaël Barrois2013-06-10
|
* Add Factory.reset_sequence.Raphaël Barrois2013-06-10
|
* Move DjangoModelFactory / MogoFactory to their own modules.Raphaël Barrois2013-06-09
|
* Add LazyStub.factory_parent (See #55).Raphaël Barrois2013-05-03
|
* declarations: Rename RelatedFactory.name (See #58).Raphaël Barrois2013-04-29
| | | | | | Use less conflict-prone factory_related_name. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add tests.alter_time and fix time altering on pypy.Raphaël Barrois2013-04-21
|
* Add FuzzyDateTime/FuzzyNaiveDateTime.Raphaël Barrois2013-04-21
|
* Add FuzzyDateSaul Shanabrook2013-04-21
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Don't use objects.get_or_create() unless required.Raphaël Barrois2013-04-16
|
* Release v2.0.1v2.0.1Raphaël Barrois2013-04-16
|
* Add more tests for DjangoModelFactoryTestCase.Raphaël Barrois2013-04-16
|
* Add Dict/List declarations (Closes #18).Raphaël Barrois2013-04-15
|
* Allow overriding the sequence counter.Raphaël Barrois2013-04-15
|
* Add factory.fuzzy (Closes #41).Raphaël Barrois2013-04-11
|
* Pylint.Raphaël Barrois2013-04-03
|
* Nit: cleanup name of test methods.Raphaël Barrois2013-04-03
|
* internal: merge OrderedDeclaration.evaluate() variants.Raphaël Barrois2013-04-03
|
* Add support for get_or_create in DjangoModelFactory.Raphaël Barrois2013-04-02
|
* Add Factory.FACTORY_HIDDEN_ARGS.Raphaël Barrois2013-04-02
| | | | | Fields listed in this class attributes will be removed from the kwargs dict passed to the associated class for building/creation.
* Default Sequence.type to int (Closes #50).Raphaël Barrois2013-03-24
|
* Add full Python 3 compatibility (Closes #10, #20, #49).nkryptic2013-03-15
| | | | | | | | Also: - update travis.yml to build against 2.6-2.7 and 3.2-3.3 - Switch to relative imports Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Fix exception hierarchy.Raphaël Barrois2013-03-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Merge BaseFactoryMetaClass into FactoryMetaClass.Raphaël Barrois2013-03-15
| | | | | | Also fix FACTORY_STRATEGY. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Remove extract_prefix from post-generation hooks.Raphaël Barrois2013-03-11
| | | | Magic abuse is bad.
* Remove CircularSubFactory.Raphaël Barrois2013-03-11
| | | | Replace CircularSubFactory('module', 'symbol') with SubFactory('module.symbol').