Revision 25231ec5 test/ganeti.cli_unittest.py
b/test/ganeti.cli_unittest.py | ||
---|---|---|
26 | 26 |
|
27 | 27 |
import ganeti |
28 | 28 |
import testutils |
29 |
|
|
29 | 30 |
from ganeti import constants |
30 | 31 |
from ganeti import cli |
31 | 32 |
from ganeti.errors import OpPrereqError, ParameterError |
32 | 33 |
|
34 |
|
|
33 | 35 |
class TestParseTimespec(unittest.TestCase): |
34 | 36 |
"""Testing case for ParseTimespec""" |
35 | 37 |
|
... | ... | |
123 | 125 |
self.failUnlessEqual(buf.getvalue(), "foo a b\n") |
124 | 126 |
|
125 | 127 |
if __name__ == '__main__': |
126 |
unittest.main() |
|
128 |
testutils.GanetiTestProgram() |
Also available in: Unified diff