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 1
1
language : python
2
2
python :
3
3
- " 2.7"
4
+ - " 3.5"
4
5
install :
5
6
- pip install -r requirements.txt
7
+ - pip install pyflakes
6
8
- pip install python-coveralls
7
9
- pip install coverage
8
10
- pip install nose
9
11
script :
10
12
- python setup.py install
13
+ - pyflakes setup.py
11
14
- nosetests --with-coverage tests
12
15
after_success :
13
16
- coveralls
Original file line number Diff line number Diff line change 1
- asyncoro == 3.5
2
1
requests == 2.8.1
3
- wsgiref == 0.1.2
4
2
xmljson == 0.1.6
5
3
Original file line number Diff line number Diff line change 1
- import re
2
- import uuid
3
-
4
1
try :
5
2
from setuptools import setup
6
3
except ImportError :
25
22
],
26
23
keywords = "Twitter Loklak Anonymous API" ,
27
24
install_requires = [
28
- "asyncoro==3.5" ,
29
25
"requests==2.8.1" ,
30
- "wsgiref==0.1.2" ,
31
26
"xmljson==0.1.6"
32
27
],
33
28
zip_safe = False ,
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ def test_get_map(self):
56
56
"""Tests the get_map method"""
57
57
map_file = os .path .join (os .getcwd (), 'markdown.png' )
58
58
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' )
61
61
with open (map_file , 'wb' ) as file_handle :
62
62
file_handle .write (data )
63
63
with open (map_file , 'rb' ) as file_handle :
You can’t perform that action at this time.
0 commit comments