diff --git a/.gitignore b/.gitignore index a559267..7c86978 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +env/ .workon -.epio-app \ No newline at end of file +.epio-app +*.pyc \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 1270594..bf31477 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,3 +13,4 @@ newrelic==1.2.1.265 raven==1.9.3 simplejson==2.4.0 wsgiref==0.1.2 +gevent \ No newline at end of file diff --git a/test_httpbin.py b/test_httpbin.py index 8b99322..ba39aac 100755 --- a/test_httpbin.py +++ b/test_httpbin.py @@ -21,7 +21,7 @@ class HttpbinTestCase(unittest.TestCase): def test_base64(self): greeting = u'Здравствуй, мир!' b64_encoded = _string_to_base64(greeting) - response = self.app.get('/base64/{}'.format(b64_encoded)) + response = self.app.get('/base64/{0}'.format(b64_encoded)) content = response.data.decode('utf-8') self.assertEquals(greeting, content)