From eafc21330b34b2de1d5eb5f4392283dda4f443f2 Mon Sep 17 00:00:00 2001 From: Peter Nagel Date: Fri, 9 Jan 2015 17:09:58 -0800 Subject: [PATCH 1/2] updated version --- lob/version.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lob/version.py b/lob/version.py index 18e2aef..052819d 100644 --- a/lob/version.py +++ b/lob/version.py @@ -1 +1 @@ -VERSION = '2.10' +VERSION = '2.11' diff --git a/setup.py b/setup.py index 8035b8a..31fc8b2 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup ( name = 'lob', - version = '2.10', + version = '2.11', author = 'Lob', author_email = 'support@lob.com', packages = ['lob'], From bec057a6d60e54276c61d2b138ab6804483f971a Mon Sep 17 00:00:00 2001 From: Peter Nagel Date: Sat, 17 Jan 2015 15:49:22 -0800 Subject: [PATCH 2/2] fixed up tets --- tests/test_lob.py | 3 +++ tests/test_postcard.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_lob.py b/tests/test_lob.py index d70d12c..a54f5a5 100644 --- a/tests/test_lob.py +++ b/tests/test_lob.py @@ -11,3 +11,6 @@ def test_bad_auth(self): def test_set_version(self): self.assertEqual(lob.api_version, 'apiVersion') + + def tearDown(self): + del lob.api_version diff --git a/tests/test_postcard.py b/tests/test_postcard.py index 85f46dd..812c339 100644 --- a/tests/test_postcard.py +++ b/tests/test_postcard.py @@ -62,7 +62,7 @@ def test_create_postcard_inline(self): 'address_zip': '94107', 'address_state': 'CA' }, - front = 'https://www.lob.com/test.pdf', + front = 'https://s3-us-west-2.amazonaws.com/lob-assets/test.pdf', message = 'Hello' ) self.assertEqual(postcard.to_address.name, 'Lob1')