[go: up one dir, main page]

Menu

[r876]: / test / trunk / template.py  Maximize  Restore  History

Download this file

36 lines (26 with data), 788 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
import pywbem
import unittest
import sys
import os
import math
import time
import commands
from socket import getfqdn
from time import sleep
sys.path.append(os.path.join(os.getcwd(), "lib"))
import wbem_connection
import EnhancedTestCase
class OMC_LogicalFile_Test(EnhancedTestCase.EnhTestCase):
def setUp(self):
unittest.TestCase.setUp(self)
wconn = wbem_connection.wbem_connection()
self._conn = wconn.get_wbem_connection()
self._orig_hostname = getfqdn()
def tearDown(self):
unittest.TestCase.tearDown(self)
def get_unit_test():
return (OMC_LogicalFile_Test)
if __name__ == '__main__':
suite = unittest.makeSuite(OMC_LogicalFile_Test)
unittest.TextTestRunner(verbosity=2).run(suite)