summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-08-14 17:39:34 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-08-14 17:39:51 +0200
commit7ee0e92cf1aa6ffb544cf6eadc8a6f0c0f205a7b (patch)
tree8c692a4532d88c17ebd13791a7b7793f1cc2e9cb /tests
parent9afe451c1deafda085d4a8c9d1c93ea95376ac95 (diff)
downloadfactory-boy-7ee0e92cf1aa6ffb544cf6eadc8a6f0c0f205a7b.tar
factory-boy-7ee0e92cf1aa6ffb544cf6eadc8a6f0c0f205a7b.tar.gz
Fix setup.py post-setuptools/distribute merge.
Diffstat (limited to 'tests')
-rw-r--r--tests/cyclic/foo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cyclic/foo.py b/tests/cyclic/foo.py
index 7f00f12..e584ed1 100644
--- a/tests/cyclic/foo.py
+++ b/tests/cyclic/foo.py
@@ -23,7 +23,7 @@
import factory
-from cyclic import bar
+from . import bar as bar_mod
class Foo(object):
def __init__(self, bar, x):
@@ -35,4 +35,4 @@ class FooFactory(factory.Factory):
FACTORY_FOR = Foo
x = 42
- bar = factory.SubFactory(bar.BarFactory)
+ bar = factory.SubFactory(bar_mod.BarFactory)