Skip to content
Snippets Groups Projects
Commit 8b1ace26 authored by inso's avatar inso
Browse files

Mock libnacl.sign

parent f62d3dc9
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class Mock(MagicMock): ...@@ -31,7 +31,7 @@ class Mock(MagicMock):
def __getattr__(cls, name): def __getattr__(cls, name):
return Mock() return Mock()
MOCK_MODULES = ['libnacl'] MOCK_MODULES = ['libnacl.sign']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
# If your documentation needs a minimal Sphinx version, state it here. # If your documentation needs a minimal Sphinx version, state it here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment