summaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2011-05-13 15:24:07 +0200
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2011-05-13 15:24:07 +0200
commitd3835fdc4e556ca5abfdd98e89437a96ab54e4c7 (patch)
tree519f259f08e1b5e9a579a02f722394ad13d9b5de /tests.py
parentb829744fb3188cee8c024dad27bd04e6d9de2d09 (diff)
downloadfactory-boy-d3835fdc4e556ca5abfdd98e89437a96ab54e4c7.tar
factory-boy-d3835fdc4e556ca5abfdd98e89437a96ab54e4c7.tar.gz
Update text wrt previous commit.
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/tests.py b/tests.py
index 6d57e7f..875d053 100644
--- a/tests.py
+++ b/tests.py
@@ -276,17 +276,6 @@ class FactoryCreationTestCase(unittest.TestCase):
except Factory.AssociatedClassError as e:
self.assertTrue('autodiscovery' not in str(e))
- def testInheritanceWithConflictingClassesError(self):
- class TestObjectFactory(Factory):
- pass
-
- try:
- class TestModelFactory(TestObjectFactory):
- pass
- self.fail()
- except Factory.AssociatedClassError as e:
- self.assertTrue('conflicting' in str(e))
-
def testInheritanceFromMoreThanOneFactory(self):
class TestObjectFactory(StubFactory):
pass
@@ -302,4 +291,4 @@ class FactoryCreationTestCase(unittest.TestCase):
self.assertTrue('one Factory' in str(e))
if __name__ == '__main__':
- unittest.main() \ No newline at end of file
+ unittest.main()