summaryrefslogtreecommitdiff
path: root/tests/cyclic/foo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cyclic/foo.py')
-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)