From e8dc25b5db5b470a64cc6a89259d476269fcebb5 Mon Sep 17 00:00:00 2001 From: Raphaël Barrois Date: Sun, 3 Mar 2013 20:59:58 +0100 Subject: Get rid of the FACTORY_ABSTRACT rename. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was just adding noise to an already complex release. Signed-off-by: Raphaël Barrois --- tests/test_base.py | 2 +- tests/test_using.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_base.py b/tests/test_base.py index c16d536..6f16e8f 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): - FACTORY_ABSTRACT = True + ABSTRACT_FACTORY = True @classmethod def _create(cls, target_class, *args, **kwargs): 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): -- cgit v1.2.3