From 5eeae892c25e4053d7ab47e22c12ff4a25b17d37 Mon Sep 17 00:00:00 2001 From: Yoav Schatzberg Date: Mon, 9 Mar 2015 18:09:07 -0700 Subject: [PATCH] modified PR to run tests for python 2.6 (and for tests to pass). --- .travis.yml | 1 + tests/client_test.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3f9cf9..3d3b769 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python python: + - "2.6" - "2.7" - "3.4" # command to install dependencies diff --git a/tests/client_test.py b/tests/client_test.py index 68cf925..e2d57c0 100644 --- a/tests/client_test.py +++ b/tests/client_test.py @@ -51,8 +51,7 @@ def response_with_data_header(): } class TestSiftPythonClient(unittest.TestCase): - @classmethod - def setUpClass(self): + def setUp(self): self.test_key = 'a_fake_test_api_key' self.sift_client = sift.Client(self.test_key)