diff --git a/mypy.ini b/mypy.ini index e778f8b470..e3dffd4449 100644 --- a/mypy.ini +++ b/mypy.ini @@ -142,6 +142,9 @@ ignore_missing_imports = True [mypy-httplib2] ignore_missing_imports = True +[mypy-httpretty] +ignore_missing_imports = True + [mypy-hyper,hyper.*] ignore_missing_imports = True diff --git a/requirements/dev.in b/requirements/dev.in index a5e1b226de..efb503585d 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -19,6 +19,9 @@ coverage==4.5.1 # fake for LDAP testing fakeldap==0.6.1 +# For testing mock http requests +httpretty==0.9.4 + # For sorting imports isort==4.3.4 diff --git a/requirements/dev.txt b/requirements/dev.txt index 0b5cd11f4f..ecddf08edb 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -68,6 +68,7 @@ h2==2.6.2 # via hyper hpack==3.0.0 # via h2 html2text==2018.1.9 httplib2==0.11.3 +httpretty==0.9.4 hyper==0.7.0 # via apns2 hyperframe==3.2.0 # via h2, hyper hyperlink==17.3.1 # via twisted