File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33- ' 2.6'
44- ' 2.7'
55- ' 3.2'
6+ - ' 3.3'
7+ - ' 3.4'
68install :
79- python setup.py install
810script : python test/__init__.py
Original file line number Diff line number Diff line change @@ -25,4 +25,11 @@ 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+ 'Programming Language :: Python :: 3.3' ,
33+ 'Programming Language :: Python :: 3.4'
34+ ]
2835)
Original file line number Diff line number Diff line change 1818SG_PWD = os .getenv ('SG_PWD' ) or 'SENDGRID_PASSWORD'
1919
2020class TestSendGrid (unittest .TestCase ):
21+ maxDiff = None
2122 def setUp (self ):
2223 self .sg = SendGridClient (SG_USER , SG_PWD )
2324
@@ -94,7 +95,7 @@ def test_send(self):
9495 "asm_group_id": 42
9596 }
9697 ''' ))
97- self .assertEqual (url , test_url )
98+ self .assertDictEqual (url , test_url )
9899
99100 @unittest .skipUnless (sys .version_info < (3 , 0 ), 'only for python2' )
100101 def test__build_body_unicode (self ):
You can’t perform that action at this time.
0 commit comments