Revision 25231ec5 test/ganeti.locking_unittest.py
b/test/ganeti.locking_unittest.py | ||
---|---|---|
31 | 31 |
from ganeti import locking |
32 | 32 |
from ganeti import errors |
33 | 33 |
|
34 |
import testutils |
|
35 |
|
|
34 | 36 |
|
35 | 37 |
# This is used to test the ssynchronize decorator. |
36 | 38 |
# Since it's passed as input to a decorator it must be declared as a global. |
... | ... | |
1405 | 1407 |
|
1406 | 1408 |
|
1407 | 1409 |
if __name__ == '__main__': |
1408 |
unittest.main() |
|
1409 |
#suite = unittest.TestLoader().loadTestsFromTestCase(TestSharedLock) |
|
1410 |
#unittest.TextTestRunner(verbosity=2).run(suite) |
|
1410 |
testutils.GanetiTestProgram() |
Also available in: Unified diff