fix tests

This commit is contained in:
Jakub Roztocil
2019-08-29 08:34:55 +02:00
parent db3016a602
commit c1d5a4a109
3 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import httpie
from httpie.compat import is_py27
class PyTest(TestCommand):
@@ -33,6 +34,9 @@ tests_require = [
'mock',
]
if is_py27:
tests_require.append('pyOpenSSL')
install_requires = [
'requests>=2.21.0',