def test_hostname(self): ret = napalm_grains.hostname(proxy=napalm_proxy) assert ret["hostname"] == "test-device.com"
def test_hostname(self): ret = napalm_grains.hostname(proxy=napalm_proxy) assert ret['hostname'] == 'test-device.com'