コード例 #1
0
 def test(self):
     uptime_is_equal = self.almost_equal(myscript.uptime(),
                                         self.expected_result)
     self.assertTrue(uptime_is_equal)
コード例 #2
0
 def test(self):
     uptime_is_equal = self.almost_equal(myscript.uptime(), self.expected_result)
     self.assertTrue(uptime_is_equal)
コード例 #3
0
 def write_datafile(self):
     self.datafile.uptime = myscript.uptime()
     self.datafile.data = myscript.ProcNetDev().read()
     self.datafile.write()
コード例 #4
0
 def write_datafile(self):
     self.datafile.uptime = myscript.uptime()
     self.datafile.data = myscript.ProcNetDev().read()
     self.datafile.write()