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()
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()