Revision 476ce612 test/ganeti.constants_unittest.py
b/test/ganeti.constants_unittest.py | ||
---|---|---|
61 | 61 |
|
62 | 62 |
def testNoDashes(self): |
63 | 63 |
for kind, source in [('hypervisor', constants.HVS_PARAMETER_TYPES), |
64 |
('backend', constants.BES_PARAMETER_TYPES)]: |
|
64 |
('backend', constants.BES_PARAMETER_TYPES), |
|
65 |
('nic', constants.NICS_PARAMETER_TYPES), |
|
66 |
]: |
|
65 | 67 |
for key in source: |
66 | 68 |
self.failUnless(self.VALID_NAME.match(key), |
67 | 69 |
"The %s parameter '%s' contains invalid characters" % |
Also available in: Unified diff