Fix junos unit test failures (#26676)

*  Use lxml api's in unit test to parse xml
*  Remove unwanted import in unit test
*  Add ncclient dependency in unit test requirement
This commit is contained in:
Ganesh Nalawade 2017-07-12 21:06:16 +05:30 committed by Matt Clay
parent db5ec11758
commit e14e37ee1e
8 changed files with 20 additions and 19 deletions

View file

@ -19,9 +19,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import json
from ansible.compat.tests.mock import patch, MagicMock
from ansible.compat.tests.mock import patch
from ansible.modules.network.junos import junos_command
from .junos_module import TestJunosModule, load_fixture, set_module_args