From 1d41b3e7b91d0114b13435549ed66d4acc6a1802 Mon Sep 17 00:00:00 2001 From: heavenshell Date: Sun, 8 Mar 2015 21:10:33 +0900 Subject: [PATCH] Fix ENV key name. --- tests/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client.py b/tests/test_client.py index 5473fa6..1c1f918 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -31,7 +31,7 @@ def dummy_response(m, filename, status_code=200): class TestClient(TestCase): @classmethod def setUpClass(cls): - api_key = os.environ.get('MACKEREL_API_KEY') + api_key = os.environ.get('MACKEREL_APIKEY') cls.client = Client(mackerel_api_key=api_key) cls.id = 'xxxxxxxxxxx'