summaryrefslogtreecommitdiff
path: root/tests/test_using.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-03-03 20:59:58 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-03-03 21:38:46 +0100
commite8dc25b5db5b470a64cc6a89259d476269fcebb5 (patch)
tree2fb60dde8f60dd3c2689c90f13436f637e28a312 /tests/test_using.py
parentf248ebda408faee17f32c8f260bcf2d5df27b83d (diff)
downloadfactory-boy-e8dc25b5db5b470a64cc6a89259d476269fcebb5.tar
factory-boy-e8dc25b5db5b470a64cc6a89259d476269fcebb5.tar.gz
Get rid of the FACTORY_ABSTRACT rename.
This was just adding noise to an already complex release. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'tests/test_using.py')
-rw-r--r--tests/test_using.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_using.py b/tests/test_using.py
index 20593f4..e5af8fb 100644
--- a/tests/test_using.py
+++ b/tests/test_using.py
@@ -63,7 +63,7 @@ class FakeModel(object):
class FakeModelFactory(factory.Factory):
- FACTORY_ABSTRACT = True
+ ABSTRACT_FACTORY = True
@classmethod
def _create(cls, target_class, *args, **kwargs):
@@ -253,7 +253,7 @@ class UsingFactoryTestCase(unittest.TestCase):
def test_abstract(self):
class SomeAbstractFactory(factory.Factory):
- FACTORY_ABSTRACT = True
+ ABSTRACT_FACTORY = True
one = 'one'
class InheritedFactory(SomeAbstractFactory):