def virt_path(self, path: str): """ Setter for the virtual path which is used. :param path: The path to where the virtual image is stored. """ self._virt_path = validate.validate_virt_path(path)
def virt_path(self, path: str): """ Setter for the ``virt_path`` property. :param path: The path to where the image will be stored. """ self._virt_path = validate.validate_virt_path(path)
def virt_path(self, path: str): """ Setter of the path to the place where the image will be stored. :param path: The path to where the image will be stored. """ self._virt_path = validate.validate_virt_path(path)
def virt_path(self, path: str): """ TODO :param path: """ self._virt_path = validate.validate_virt_path(path, for_system=True)
def test_validate_virt_path(): # Arrange test_location = "/somerandomfakelocation" # Act result = validate.validate_virt_path(test_location) # Assert assert result == test_location