File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 11language : python
22python :
33 - " 2.7"
4+ - " 3.5"
45install :
56 - pip install -r requirements.txt
7+ - pip install pyflakes
68 - pip install python-coveralls
79 - pip install coverage
810 - pip install nose
911script :
1012 - python setup.py install
13+ - pyflakes setup.py
1114 - nosetests --with-coverage tests
1215after_success :
1316 - coveralls
Original file line number Diff line number Diff line change 1- asyncoro == 3.5
21requests == 2.8.1
3- wsgiref == 0.1.2
42xmljson == 0.1.6
53
Original file line number Diff line number Diff line change 1- import re
2- import uuid
3-
41try :
52 from setuptools import setup
63except ImportError :
2522 ],
2623 keywords = "Twitter Loklak Anonymous API" ,
2724 install_requires = [
28- "asyncoro==3.5" ,
2925 "requests==2.8.1" ,
30- "wsgiref==0.1.2" ,
3126 "xmljson==0.1.6"
3227 ],
3328 zip_safe = False ,
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ def test_get_map(self):
5656 """Tests the get_map method"""
5757 map_file = os .path .join (os .getcwd (), 'markdown.png' )
5858 data = self .loklak .get_map (17.582729 , 79.118320 )
59- self .assertTrue (data [:8 ] == '\211 PNG\r \n \032 \n ' and
60- ( data [12 :16 ] == 'IHDR' ) )
59+ self .assertTrue (data [:8 ] == b '\211 PNG\r \n \032 \n ' and
60+ data [12 :16 ] == b 'IHDR' )
6161 with open (map_file , 'wb' ) as file_handle :
6262 file_handle .write (data )
6363 with open (map_file , 'rb' ) as file_handle :
You can’t perform that action at this time.
0 commit comments