diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-03-15 01:39:57 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-03-15 01:39:57 +0100 |
commit | efc0ca41dcec074176064faf1e899ea275bb2901 (patch) | |
tree | 0c69c443ae2022f8a7ca2f1df786e094ae9c15e7 /tests | |
parent | 6e9bf5af909e1e164a294fd5589edc4fada06731 (diff) | |
download | factory-boy-efc0ca41dcec074176064faf1e899ea275bb2901.tar factory-boy-efc0ca41dcec074176064faf1e899ea275bb2901.tar.gz |
Fix exception hierarchy.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_base.py b/tests/test_base.py index e12c0ae..fb3ba30 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -60,7 +60,7 @@ class TestModel(FakeDjangoModel): class SafetyTestCase(unittest.TestCase): def testBaseFactory(self): - self.assertRaises(RuntimeError, base.BaseFactory) + self.assertRaises(base.FactoryError, base.BaseFactory) class FactoryTestCase(unittest.TestCase): |