Skip to content

Commit 33af908

Browse files
committed
fix import refs
1 parent 730d339 commit 33af908

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def key_prefix(request, redis):
4747
def cleanup_keys(request):
4848
# Always use the sync Redis connection with finalizer. Setting up an
4949
# async finalizer should work, but I'm not suer how yet!
50-
from redis_om.connections import get_redis_connection as get_sync_redis
50+
from aredis_om.connections import get_redis_connection as get_sync_redis
5151

5252
# Increment for every pytest-xdist worker
5353
conn = get_sync_redis()

tests/test_hash_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# We need to run this check as sync code (during tests) even in async mode
2424
# because we call it in the top-level module scope.
2525
from aredis_om import has_redisearch
26-
from conftest import py_test_mark_asyncio
26+
from tests.conftest import py_test_mark_asyncio
2727

2828
if not has_redisearch():
2929
pytestmark = pytest.mark.skip

tests/test_json_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# We need to run this check as sync code (during tests) even in async mode
2626
# because we call it in the top-level module scope.
27-
from redis_om import has_redis_json
27+
from aredis_om import has_redis_json
2828
from tests.conftest import py_test_mark_asyncio
2929

3030
if not has_redis_json():

0 commit comments

Comments
 (0)