Skip to content

Commit d0ee9c7

Browse files
committed
Use updated mocket import. Closes #94
1 parent ca14f05 commit d0ee9c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
include_package_data=True,
2727
python_requires=">=3.6",
2828
install_requires=requirements,
29-
tests_require=["mocket>=3.8.6"],
29+
tests_require=["mocket>=3.8.9"],
3030
test_suite="tests",
3131
license=geoip2.__license__,
3232
classifiers=[

tests/webservice_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# httpretty currently doesn't work, but mocket with the compat interface
1515
# does.
1616
from mocket import Mocket # type: ignore
17-
from mocket.plugins.httpretty import HTTPretty as httpretty, httprettified # type: ignore
17+
from mocket.plugins.httpretty import httpretty, httprettified # type: ignore
1818
import geoip2
1919
from geoip2.errors import (
2020
AddressNotFoundError,

0 commit comments

Comments
 (0)