def virt_bridge(self, vbridge: str): """ Setter for the virtual bridge which is used. :param vbridge: The name of the virtual bridge to use. """ self._virt_bridge = validate.validate_virt_bridge(vbridge)
def test_set_virt_bridge(): # Arrange # Act result = validate.validate_virt_bridge("testbridge") # Assert assert result == "testbridge"