Skip to content

Commit

Permalink
fix nxos_feature unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rahushen committed Feb 16, 2018
1 parent 400d37e commit 467c594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/units/modules/network/nxos/test_nxos_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def load_from_file(*args, **kwargs):
def test_nxos_feature_enable(self):
set_module_args(dict(feature='nve', state='enabled'))
result = self.execute_module(changed=True)
self.assertEqual(result['commands'], ['feature nv overlay'])
self.assertEqual(result['commands'], ['terminal dont-ask', 'feature nv overlay'])

def test_nxos_feature_disable(self):
set_module_args(dict(feature='ospf', state='disabled'))
result = self.execute_module(changed=True)
self.assertEqual(result['commands'], ['no feature ospf'])
self.assertEqual(result['commands'], ['terminal dont-ask', 'no feature ospf'])

0 comments on commit 467c594

Please sign in to comment.