From a2b9fb9dd8e45a12b4bf48c2bea2d567fd025c44 Mon Sep 17 00:00:00 2001 From: Wenbin Fang Date: Tue, 19 Apr 2016 15:30:09 -0700 Subject: [PATCH] Workaround to ensure mock package is installed. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index db9eeb3..5d41e0a 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ init: test: make install make flake8 - $(SOURCE_VENV) && $(PYTHON) setup.py test + # Hacky way to ensure mock is installed before running setup.py + $(SOURCE_VENV) && pip install mock==1.1.2 && $(PYTHON) setup.py test install: make init