Adds parents to mutually_exclusive with src for *_config modules (#33957)

* mutually_exclusive add - ios_config parents works with lines by not src

* mutually_execlusive parents,src added to all other net modules

* tests for mutually_exclusive parents,src and whitespce removal
This commit is contained in:
bdowling
2018-01-03 09:47:12 -05:00
committed by Nathaniel Case
parent af236f2531
commit 552d1df901
18 changed files with 105 additions and 24 deletions

View File

@@ -110,6 +110,11 @@ class TestNxosConfigModule(TestNxosModule):
set_module_args(args)
result = self.execute_module(failed=True)
def test_nxos_config_src_and_parents_fails(self):
args = dict(src='foo', parents='foo')
set_module_args(args)
result = self.execute_module(failed=True)
def test_nxos_config_match_exact_requires_lines(self):
args = dict(match='exact')
set_module_args(args)