-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
class Accounts(testdata.DictFactory):
id = testdata.CountingFactory(10)
first = testdata.FakeDataFactory('firstName')
last = testdata.FakeDataFactory('lastName')
address = testdata.FakeDataFactory('address')
age = testdata.RandomInteger(10, 30)
Accounts().generate(10)
raises this exception:
tdata/dictionary.py", line 27, in __init__
self._child_factories = deepcopy(self._child_factory_tree)
AttributeError: 'Accounts' object has no attribute '_child_factory_tree'
gskornowicz
Metadata
Metadata
Assignees
Labels
No labels