Skip to content

Commit

Permalink
Update fixture mock location
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed Dec 17, 2022
1 parent 9a1168b commit 5ec6a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Expand Up @@ -230,5 +230,5 @@ def urlopen():
urlopen.__enter__ = Mock(return_value=urlopen)
urlopen.__exit__ = Mock()
urlopen.read = Mock()
with patch("sanic.worker.inspector.urlopen", urlopen):
with patch("sanic.cli.inspector_client.urlopen", urlopen):
yield urlopen

0 comments on commit 5ec6a9a

Please sign in to comment.