Revision 90e234a6 test/ganeti.utils.io_unittest.py
b/test/ganeti.utils.io_unittest.py | ||
---|---|---|
691 | 691 |
" ssh-dss AAAAB3NzaC1w520smc01ms0jfJs22 root@key-b\n") |
692 | 692 |
|
693 | 693 |
|
694 |
class TestNewUUID(unittest.TestCase): |
|
695 |
"""Test case for NewUUID""" |
|
696 |
|
|
697 |
def runTest(self): |
|
698 |
self.failUnless(utils.UUID_RE.match(utils.NewUUID())) |
|
699 |
|
|
700 |
|
|
694 | 701 |
if __name__ == "__main__": |
695 | 702 |
testutils.GanetiTestProgram() |
Also available in: Unified diff