Skip to content

Commit

Permalink
Merge branch 'master' of github.com:michael-lazar/flask-gopher
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-lazar committed Jan 19, 2019
2 parents 08fa636 + 2210728 commit d4a056b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Expand Up @@ -3,10 +3,9 @@ sudo: required
dist: xenial

env:
- FLASK=1.0
- FLASK=0.12
- FLASK=0.11
- FLASK=0.10
- FLASK=0.12
- FLASK=1.0

python:
- 3.4
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -28,7 +28,7 @@ def long_description():
include_package_data=True,
platforms='any',
install_requires=[
'Flask',
'Flask>=0.11',
# pyfiglet v0.8.0 removes a bunch of fonts due to licensing issues :(
'pyfiglet<=0.7.6',
'tabulate',
Expand Down
4 changes: 2 additions & 2 deletions tests/test_flask_gopher.py
Expand Up @@ -88,7 +88,7 @@ def external_menu_url():

@app.route('/query')
def query():
return 'query: ' + json.dumps(dict(request.args))
return 'query: ' + json.dumps(dict(request.args.items()))

@app.route('/search')
def search():
Expand Down Expand Up @@ -180,7 +180,7 @@ def test_query_string(self):
resp = self.send_data(b'/query\r\n')
self.assertEqual(resp, b'query: {}')
resp = self.send_data(b'/query?city=Grand%20Rapids\r\n')
self.assertEqual(resp, b'query: {"city": ["Grand Rapids"]}')
self.assertEqual(resp, b'query: {"city": "Grand Rapids"}')

def test_search(self):
"""
Expand Down

0 comments on commit d4a056b

Please sign in to comment.