Signed-off-by: Guido Trotter <[email protected]>
Reviewed-by: Michael Hanselmann <[email protected]>
---
test/ganeti.constants_unittest.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/test/ganeti.constants_unittest.py
b/test/ganeti.constants_unittest.py
index e5263d4..af39955 100755
--- a/test/ganeti.constants_unittest.py
+++ b/test/ganeti.constants_unittest.py
@@ -61,7 +61,9 @@ class TestParameterNames(unittest.TestCase):
def testNoDashes(self):
for kind, source in [('hypervisor', constants.HVS_PARAMETER_TYPES),
- ('backend', constants.BES_PARAMETER_TYPES)]:
+ ('backend', constants.BES_PARAMETER_TYPES),
+ ('nic', constants.NICS_PARAMETER_TYPES),
+ ]:
for key in source:
self.failUnless(self.VALID_NAME.match(key),
"The %s parameter '%s' contains invalid characters" %
--
1.5.6.5