def test_remote_grub_initrd(value, expected_exception): # Arrange test_api = CobblerAPI() distro = Distro(test_api) # Act with expected_exception: distro.remote_boot_initrd = value # Assert assert distro.remote_grub_initrd == value
def test_remote_boot_initrd(value, expected_exception): # TODO: Create fake initrd to have a real test # Arrange test_api = CobblerAPI() distro = Distro(test_api) # Act with expected_exception: distro.remote_boot_initrd = value # Assert assert distro.remote_boot_initrd == value