"""Netgear Plus only has the methods it can carry out. An application reads a capability from the method being there: netOrk offers "Add VLAN" and the port VLAN editor when ``set_vlan`` / ``set_interface`` are callable (#9). A method that only raises NotImplementedError made the HTTP-only Plus switches look able to do it. """ from __future__ import annotations import pytest from napalm_netgear.netgear_plus import NetgearPlusDriver @pytest.mark.parametrize("method", ["set_vlan", "delete_vlan", "set_interface"]) def test_plus_has_no_vlan_or_port_writes(method): assert not callable(getattr(NetgearPlusDriver, method, None))