summaryrefslogtreecommitdiff
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-11-14 23:51:09 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-11-15 00:03:37 +0100
commit048fb1cc935a2ccbc5ca7af81c9390e218a1080b (patch)
treebc1af32ab1dd72a90ea1f7e0b0beba25b96b8714 /tests/test_base.py
parent7fe9c7cc94f6ba69abdf45d09a2dcc8969503514 (diff)
downloadfactory-boy-048fb1cc935a2ccbc5ca7af81c9390e218a1080b.tar
factory-boy-048fb1cc935a2ccbc5ca7af81c9390e218a1080b.tar.gz
Rename ABSTRACT_FACTORY to FACTORY_ABSTRACT.
And add a deprecation warning too. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'tests/test_base.py')
-rw-r--r--tests/test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_base.py b/tests/test_base.py
index c8109db..63fc62b 100644
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -47,7 +47,7 @@ class FakeDjangoModel(object):
self.id = None
class FakeModelFactory(base.Factory):
- ABSTRACT_FACTORY = True
+ FACTORY_ABSTRACT = True
@classmethod
def _create(cls, target_class, *args, **kwargs):