mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 15:21:25 -07:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
parent
9e310558ee
commit
b954917761
373 changed files with 408 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue