Definition at line 49 of file ftest_DBTaskStatistic.py.
◆ execCommand()
def ftests.ftest_DBTaskStatistic.Test.execCommand |
( |
|
self, |
|
|
|
command, |
|
|
|
step |
|
) |
| |
Definition at line 61 of file ftest_DBTaskStatistic.py.
61 def execCommand(self, command, step):
63 print ">>> Start = " + str(command)
64 fd = os.popen(command)
68 print ">>> Finish = " + str(command)
70 obj = pickle.loads(localStr)
72 self.assertTrue(
False,
"Step%s >>> Invalid return data" % str(step))
74 print ">>> Bad FD " + + str(command)
◆ setUp()
def ftests.ftest_DBTaskStatistic.Test.setUp |
( |
|
self | ) |
|
◆ tearDown()
def ftests.ftest_DBTaskStatistic.Test.tearDown |
( |
|
self | ) |
|
◆ testSuite1()
def ftests.ftest_DBTaskStatistic.Test.testSuite1 |
( |
|
self | ) |
|
Definition at line 78 of file ftest_DBTaskStatistic.py.
82 self.execCommand(CMD_SNEW1, 0)
83 self.execCommand(CMD_SNEW2, 0)
84 self.execCommand(CMD_SNEW3, 0)
85 self.execCommand(CMD_SNEW4, 0)
86 self.execCommand(CMD_UNEW1, 1)
87 self.execCommand(CMD_UUPDATE1, 2)
88 self.execCommand(CMD_UUPDATE2, 2)
89 self.execCommand(CMD_UUPDATE3, 2)
90 self.execCommand(CMD_UUPDATE4, 2)
91 self.execCommand(CMD_UDELETE1, 3)
92 self.execCommand(CMD_UAGE1, 4)
93 self.execCommand(CMD_SCEANUP1, 5)
94 self.execCommand(CMD_SCEANUP2, 5)
95 self.execCommand(CMD_UPURGE1, 6)
◆ mutex
ftests.ftest_DBTaskStatistic.Test.mutex = threading.Lock() |
|
static |
The documentation for this class was generated from the following file: