Skip to content

Commit a3b82cf

Browse files
committed
Use simpler mocket import and link to httpretty issue
1 parent d48e2d6 commit a3b82cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_webservice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from typing import Type, Union
66

77
# httpretty currently doesn't work, but mocket with the compat interface
8-
# does.
9-
from mocket.plugins.httpretty import HTTPretty as httpretty, httprettified # type: ignore
8+
# does. See, e.g., https://github.com/gabrielfalcao/HTTPretty/issues/220
9+
from mocket.plugins.httpretty import httpretty, httprettified # type: ignore
1010

1111
from minfraud.errors import (
1212
HTTPError,

0 commit comments

Comments
 (0)