예제 #1
0
 def test_diff_list(self):
     '''
     Test it with an actual list
     '''
     ret = napalm_yang_mod.diff({}, {'test': True},
                                ['models.openconfig_interfaces'])
     assert ret == TEST_DIFF
 def test_diff_list(self):
     """
     Test it with an actual list
     """
     ret = napalm_yang_mod.diff({}, {"test": True},
                                ["models.openconfig_interfaces"])
     assert ret == self._test_diff.copy()
예제 #3
0
 def test_diff(self):
     ret = napalm_yang_mod.diff({}, {'test': True},
                                'models.openconfig_interfaces')
     assert ret == TEST_DIFF
 def test_diff(self):
     ret = napalm_yang_mod.diff({}, {"test": True}, "models.openconfig_interfaces")
     assert ret == self._test_diff.copy()