summaryrefslogtreecommitdiff
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-06-15 16:15:39 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-06-15 16:17:14 +0200
commitb72fa40e52f3b767144b11f1d83c36d417f023d8 (patch)
tree4233f832395b2ee9a5bb3034b55dd404f4371d61 /tests/test_base.py
parent94d7defa820b69152fb5aeadb3f5ccc3611158fa (diff)
downloadfactory-boy-b72fa40e52f3b767144b11f1d83c36d417f023d8.tar
factory-boy-b72fa40e52f3b767144b11f1d83c36d417f023d8.tar.gz
Fix coverage
Diffstat (limited to 'tests/test_base.py')
-rw-r--r--tests/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_base.py b/tests/test_base.py
index 4978d10..8ac2f44 100644
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -321,7 +321,7 @@ class FactoryCreationTestCase(unittest.TestCase):
try:
class Test(base.Factory):
pass
- self.fail()
+ self.fail() # pragma: no cover
except base.Factory.AssociatedClassError as e:
self.assertTrue('autodiscovery' not in str(e))
@@ -348,5 +348,5 @@ class PostGenerationParsingTestCase(unittest.TestCase):
-if __name__ == '__main__':
+if __name__ == '__main__': # pragma: no cover
unittest.main()