summaryrefslogtreecommitdiff
path: root/factory/__init__.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-02-24 23:58:54 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-02-24 23:58:54 +0100
commit8a459c5e26a14a531f78d740b325c996044df760 (patch)
tree32fa813787f885a8ac59970cd65d8350c0e91551 /factory/__init__.py
parentcbbe5cc359412c8e6c49e06d5d1f35680ad88c40 (diff)
downloadfactory-boy-8a459c5e26a14a531f78d740b325c996044df760.tar
factory-boy-8a459c5e26a14a531f78d740b325c996044df760.tar.gz
Add the Iterator and InfiniteIterator attribute kinds.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'factory/__init__.py')
-rw-r--r--factory/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/factory/__init__.py b/factory/__init__.py
index cf9cc3e..12f297e 100644
--- a/factory/__init__.py
+++ b/factory/__init__.py
@@ -52,6 +52,8 @@ from base import (
from declarations import (
LazyAttribute,
+ Iterator,
+ InfiniteIterator,
Sequence,
LazyAttributeSequence,
SelfAttribute,
@@ -59,6 +61,8 @@ from declarations import (
SubFactory,
lazy_attribute,
+ iterator,
+ infinite_iterator,
sequence,
lazy_attribute_sequence,
container_attribute,