Add new RHEL7 logvol objects to master
[pykickstart.git] / tests / commands / updates.py
blob4aee2dd48e047a059f051487acf2b44c08c59892
1 import unittest
2 from tests.baseclass import *
4 from pykickstart.errors import *
5 from pykickstart.commands.updates import *
7 class F7_TestCase(CommandTest):
8 command = "updates"
10 def runTest(self):
11 # pass
12 self.assert_parse("updates", "updates\n")
13 self.assert_parse("updates deliciouscheeses", "updates deliciouscheeses\n")
15 # fail
16 self.assert_parse_error("updates cheese crackers", KickstartValueError)
18 if __name__ == "__main__":
19 unittest.main()