Re: Fwd: [PATCH] Added iscsiname.py test case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +class FC6_TestCase(CommandTest):
> +    def runTest(self):
> +        #pass
> +        self.assert_parse("iscsiname foo", "iscsiname foo\n")
> +
> +        #fail
> +        self.assert_parse_error("iscsiname", KickstartValueError)
> +        self.assert_parse_error("iscsiname foo bar", KickstartValueError)
> +
> +if __name__ == "__main__":
> +    unittest.main()

I added another assert_parse_error for "iscsiname --whatever", just to
make sure that works as expected too.  Otherwise, applied.  Thanks.

- Chris

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux