From d3835fdc4e556ca5abfdd98e89437a96ab54e4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 13 May 2011 15:24:07 +0200 Subject: Update text wrt previous commit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaƫl Barrois --- tests.py | 13 +------------ 1 file changed, 1 insertion(+), 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() -- cgit v1.2.3