diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2011-05-13 15:24:07 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2011-05-13 15:24:07 +0200 |
commit | d3835fdc4e556ca5abfdd98e89437a96ab54e4c7 (patch) | |
tree | 519f259f08e1b5e9a579a02f722394ad13d9b5de /tests.py | |
parent | b829744fb3188cee8c024dad27bd04e6d9de2d09 (diff) | |
download | factory-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.py | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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() |