Skip to content

Commit 9566d40

Browse files
author
Andrew Brookins
committed
Try to smooth out dev setup experience
1 parent e165942 commit 9566d40

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ format: $(INSTALL_STAMP) sync
6262

6363
.PHONY: test
6464
test: $(INSTALL_STAMP) sync
65-
$(POETRY) run pytest -n auto -vv ./tests/ ./tests_sync/ --cov-report term-missing --cov $(NAME) $(SYNC_NAME)
65+
REDIS_OM_URL="redis://localhost:6380?decode_responses=True" $(POETRY) run pytest -n auto -vv ./tests/ ./tests_sync/ --cov-report term-missing --cov $(NAME) $(SYNC_NAME)
6666

6767
.PHONY: test_oss
6868
test_oss: $(INSTALL_STAMP) sync
6969
# Specifically tests against a local OSS Redis instance via
7070
# docker-compose.yml. Do not use this for CI testing, where we should
7171
# instead have a matrix of Docker images.
72-
REDIS_OM_URL="redis://localhost:6381" $(POETRY) run pytest -n auto -vv ./tests/ ./tests_sync/ --cov-report term-missing --cov $(NAME)
72+
REDIS_OM_URL="redis://localhost:6381?decode_responses=True" $(POETRY) run pytest -n auto -vv ./tests/ ./tests_sync/ --cov-report term-missing --cov $(NAME)
7373

7474

7575
.PHONY: shell

poetry.lock

Lines changed: 41 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ license = "BSD-3-Clause"
88
readme = "README.md"
99
repository = "https://github.com/redis-developer/redis-om-python"
1010
packages = [
11-
{ "include" = "aredis_om" },
1211
{ "include" = "redis_om" },
1312
]
1413
classifiers = [
@@ -34,6 +33,7 @@ types-redis = "^3.5.9"
3433
types-six = "^1.16.1"
3534
python-ulid = "^1.0.3"
3635
python-dotenv = "^0.19.1"
36+
cleo = "1.0.0a4"
3737

3838
[tool.poetry.dev-dependencies]
3939
mypy = "^0.910"

0 commit comments

Comments
 (0)