summaryrefslogtreecommitdiff
path: root/tests/test_faker.py
Commit message (Collapse)AuthorAge
* add a way to add custom providers to FakerIonuț Arțăriși2015-10-20
| | | | | | | | | | | factory_boy wraps faker and it stores Faker generators in a 'private' _FAKER_REGISTRY class attribute dict. There needs to be a way to extend the Faker generators with additional custom providers (without having to access _FAKER_REGISTRY directly). This commit adds a (factory_boy) Faker.add_provider class method which calls Faker's own `add_provider` method on internally stored (via _FAKER_REGISTRY) Faker generators.
* Add factory.Faker()Raphaël Barrois2015-05-22
This relies on the ``fake-factory`` library, and provides realistic random values for most field types.