summaryrefslogtreecommitdiff
path: root/tests/test_declarations.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-04-03 01:17:26 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-04-03 01:19:45 +0200
commit8c1784e8c1eac65f66b4a1ecc4b8b0ddd5de9327 (patch)
tree0b1d368f114de4235dc3d88e2dfc41b3403d16ef /tests/test_declarations.py
parent3aee208ee7cdf480cbc173cf3084ce2217a5944f (diff)
downloadfactory-boy-8c1784e8c1eac65f66b4a1ecc4b8b0ddd5de9327.tar
factory-boy-8c1784e8c1eac65f66b4a1ecc4b8b0ddd5de9327.tar.gz
Pylint.
Diffstat (limited to 'tests/test_declarations.py')
-rw-r--r--tests/test_declarations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_declarations.py b/tests/test_declarations.py
index 7b9b0af..4c08dfa 100644
--- a/tests/test_declarations.py
+++ b/tests/test_declarations.py
@@ -25,6 +25,7 @@ import itertools
import warnings
from factory import declarations
+from factory import helpers
from .compat import mock, unittest
from . import tools
@@ -124,7 +125,7 @@ class PostGenerationDeclarationTestCase(unittest.TestCase):
def test_decorator_simple(self):
call_params = []
- @declarations.post_generation
+ @helpers.post_generation
def foo(*args, **kwargs):
call_params.append(args)
call_params.append(kwargs)