summaryrefslogtreecommitdiff
path: root/factory/containers.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/containers.py')
-rw-r--r--factory/containers.py2
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()):