diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2011-05-24 09:58:16 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2011-05-24 09:58:16 +0200 |
commit | cb66c88859d8de161561ae42c9eccd8af56440c8 (patch) | |
tree | a9c37f4ad39c661b5f698f08080fb64adda41e44 /factory/containers.py | |
parent | e42516b995053d0d5f8d4d13a94cea4953ea1850 (diff) | |
download | factory-boy-cb66c88859d8de161561ae42c9eccd8af56440c8.tar factory-boy-cb66c88859d8de161561ae42c9eccd8af56440c8.tar.gz |
Fix the SubFactory/Sequence behaviour.
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Diffstat (limited to 'factory/containers.py')
-rw-r--r-- | factory/containers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/factory/containers.py b/factory/containers.py index 8aa9955..be61641 100644 --- a/factory/containers.py +++ b/factory/containers.py @@ -139,6 +139,8 @@ class DeclarationsHolder(object): if not extra: extra = {} + factory.sequence = factory._generate_next_sequence() + attributes = {} sub_fields = {} for key in list(extra.keys()): |