summaryrefslogtreecommitdiff
path: root/factory/declarations.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-08-16 23:59:29 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-08-16 23:59:29 +0200
commitb36bcc41725680fe06e63ff0af7ee5798fceee34 (patch)
tree2d7ee3073a97db977f04e26dbf7bf031629da908 /factory/declarations.py
parenteeb9a6254d7e333f86faf63f0d4e4f74749efec1 (diff)
downloadfactory-boy-b36bcc41725680fe06e63ff0af7ee5798fceee34.tar
factory-boy-b36bcc41725680fe06e63ff0af7ee5798fceee34.tar.gz
Improve test coverage.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'factory/declarations.py')
-rw-r--r--factory/declarations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/factory/declarations.py b/factory/declarations.py
index 5e45255..77000f2 100644
--- a/factory/declarations.py
+++ b/factory/declarations.py
@@ -250,7 +250,7 @@ class ParameteredAttribute(OrderedDeclaration):
return self.generate(create, defaults)
- def generate(self, create, params):
+ def generate(self, create, params): # pragma: no cover
"""Actually generate the related attribute.
Args:
@@ -352,7 +352,7 @@ class PostGenerationDeclaration(object):
kwargs = utils.extract_dict(extract_prefix, attrs)
return extracted, kwargs
- def call(self, obj, create, extracted=None, **kwargs):
+ def call(self, obj, create, extracted=None, **kwargs): # pragma: no cover
"""Call this hook; no return value is expected.
Args: