From 405241dc17d6d9b0663cea14cebd1e691738b58b Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Fri, 30 Jul 2010 16:32:00 +0200 Subject: [PATCH] Test instance NIC and disk parameter names Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- test/ganeti.constants_unittest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ganeti.constants_unittest.py b/test/ganeti.constants_unittest.py index f21c99df6..d73d6503c 100755 --- a/test/ganeti.constants_unittest.py +++ b/test/ganeti.constants_unittest.py @@ -77,6 +77,8 @@ class TestParameterNames(unittest.TestCase): for kind, source in [('hypervisor', constants.HVS_PARAMETER_TYPES), ('backend', constants.BES_PARAMETER_TYPES), ('nic', constants.NICS_PARAMETER_TYPES), + ("instdisk", constants.IDISK_PARAMS_TYPES), + ("instnic", constants.INIC_PARAMS_TYPES), ]: for key in source: self.failUnless(self.VALID_NAME.match(key), -- GitLab