From 8090cb84e5477fbdc7e138bc984c28033d772f56 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Tue, 17 Dec 2013 14:16:54 -0800 Subject: [PATCH] update test, add blinker dep --- tests/requirements.txt | 1 + tests/test_api.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index d0258149..c998ba35 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,3 +1,4 @@ nose>=1.1.2 mock>=0.8 nosexcover +blinker diff --git a/tests/test_api.py b/tests/test_api.py index baca77c1..276bb0f0 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -361,8 +361,9 @@ def test_non_api_error_404_catchall(self): def test_handle_error_signal(self): + # This test requires the blinker lib to run. if not signals_available: - self.skipTest("Can't test signals without signal support") + raise unittest.skipTest("Can't test signals without signal support") app = Flask(__name__) api = flask_restful.Api(app)