mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 14:51:09 +00:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
committed by
Toshio Kuratomi
parent
9e310558ee
commit
b954917761
@@ -54,6 +54,7 @@ def import_mock(name, *args):
|
||||
return mock_ncclient
|
||||
return builtin_import(name, *args)
|
||||
|
||||
|
||||
if PY3:
|
||||
with patch('builtins.__import__', side_effect=import_mock):
|
||||
from ansible.plugins.connection.netconf import Connection as NetconfConnection
|
||||
|
||||
@@ -43,6 +43,7 @@ def import_mock(name, *args):
|
||||
return mock_ncclient
|
||||
return builtin_import(name, *args)
|
||||
|
||||
|
||||
if PY3:
|
||||
with patch('builtins.__import__', side_effect=import_mock):
|
||||
from ansible.plugins.connection import netconf
|
||||
|
||||
Reference in New Issue
Block a user