def test_stats(): with patch( "salt.utils.napalm.get_device", MagicMock(return_value=napalm_test_support.MockNapalmDevice()), ): ret = napalm_ntp.stats() assert ret["out"][0]["reachability"] == 377
def test_stats(self): ret = napalm_ntp.stats() assert ret['out'][0]['reachability'] == 377
def test_stats(self): ret = napalm_ntp.stats() assert ret["out"][0]["reachability"] == 377