def test_raises_notimplementederror(self): with pytest.raises(NotImplementedError): BSDNetworking().is_physical("eth0")
def test_raises_notimplementederror(self): with pytest.raises(NotImplementedError): BSDNetworking().try_set_link_up("eth0")
def test_settle_doesnt_error(self): # This also implicitly tests that it doesn't use subp.subp BSDNetworking().settle()