File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22All notable changes to this project will be documented in this file.
33
4+ ## [ 1.4.1] - 2015-09-09
5+ ### Added
6+ - Classifiers for compatible python versions
7+
48## [ 1.4.0] - 2015-04-27
59### Added
610- Support for API keys
Original file line number Diff line number Diff line change 1- version_info = (1 , 4 , 0 )
1+ version_info = (1 , 4 , 1 )
22__version__ = '.' .join (str (v ) for v in version_info )
Original file line number Diff line number Diff line change @@ -25,4 +25,9 @@ def getRequires():
2525 description = 'SendGrid library for Python' ,
2626 long_description = open ('./README.rst' ).read (),
2727 install_requires = getRequires (),
28+ classifiers = [
29+ 'Programming Language :: Python :: 2.6' ,
30+ 'Programming Language :: Python :: 2.7' ,
31+ 'Programming Language :: Python :: 3.2'
32+ ]
2833)
Original file line number Diff line number Diff line change 55 import unittest
66import json
77import sys
8+ import collections
89try :
910 from StringIO import StringIO
1011except ImportError : # Python 3
1819SG_PWD = os .getenv ('SG_PWD' ) or 'SENDGRID_PASSWORD'
1920
2021class TestSendGrid (unittest .TestCase ):
22+
2123 def setUp (self ):
2224 self .sg = SendGridClient (SG_USER , SG_PWD )
2325
@@ -94,8 +96,9 @@ def test_send(self):
9496 "asm_group_id": 42
9597 }
9698 ''' ))
97- self .assertEqual (url , test_url )
98-
99+
100+ self .assertEqual (url , test_url )
101+
99102 @unittest .skipUnless (sys .version_info < (3 , 0 ), 'only for python2' )
100103 def test__build_body_unicode (self ):
101104 """test _build_body() handles encoded unicode outside ascii range"""
You can’t perform that action at this time.
0 commit comments