File tree Expand file tree Collapse file tree 3 files changed +1
-98
lines changed
Expand file tree Collapse file tree 3 files changed +1
-98
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ package: build
66 docker run --rm -v $(shell pwd) /build:/build imms-lambda-build
77
88test :
9- python -m unittest
9+ @PYTHONPATH=src:tests python -m unittest
1010
1111.PHONY : build package test
Original file line number Diff line number Diff line change 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 ()
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments