Skip to content

Commit 16900c5

Browse files
committed
debug
1 parent 4d55124 commit 16900c5

File tree

3 files changed

+1
-98
lines changed

3 files changed

+1
-98
lines changed

backend/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ package: build
66
docker run --rm -v $(shell pwd)/build:/build imms-lambda-build
77

88
test:
9-
python -m unittest
9+
@PYTHONPATH=src:tests python -m unittest
1010

1111
.PHONY: build package test

backend/tests/__init__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +0,0 @@
1-
import os
2-
import sys
3-
from unittest.mock import patch
4-
5-
from tests.utils.mock_redis import MockRedisClient
6-
7-
sys.path.append(f"{os.path.dirname(os.path.abspath(__file__))}/../src")
8-
9-
# TODO - probably shouldn't do this here. Mock in individual tests instead for clarity.
10-
# I tried setUpModule() but that wasn't called from __init__.py
11-
redis_patcher = patch("clients.redis_client", MockRedisClient())
12-
redis_patcher.start()

backend/tests/utils/mock_redis.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)