[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Fwd: [PATCH] Added iscsiname.py test case
- From: Chris Lumens <clumens redhat com>
- To: kickstart-list redhat com
- Subject: Re: Fwd: [PATCH] Added iscsiname.py test case
- Date: Mon, 9 Feb 2009 13:08:32 -0500
> +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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]