summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-03-15 01:08:00 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-03-15 01:08:00 +0100
commitd63821daba2002b8c455777748007f7198d3d3bc (patch)
tree802be0f0c6cc771243223a6dd81f5e52555024d1 /factory
parent60f0969406bd349a8a8b88fcaec819fa5c0525cb (diff)
downloadfactory-boy-d63821daba2002b8c455777748007f7198d3d3bc.tar
factory-boy-d63821daba2002b8c455777748007f7198d3d3bc.tar.gz
Remove unused constants.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'factory')
-rw-r--r--factory/base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/factory/base.py b/factory/base.py
index 8bb6d95..25d7a14 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -120,12 +120,6 @@ class BaseFactoryMetaClass(type):
class FactoryMetaClass(BaseFactoryMetaClass):
"""Factory metaclass for handling class association and ordered declarations."""
- ERROR_MESSAGE = """Could not determine what class this factory is for.
- Use the {0} attribute to specify a class."""
- ERROR_MESSAGE_AUTODISCOVERY = ERROR_MESSAGE + """
- Also, autodiscovery failed using the name '{1}'
- based on the Factory name '{2}' in {3}."""
-
@classmethod
def _discover_associated_class(cls, class_name, attrs, inherited=None):
"""Try to find the class associated with this factory.