Esempio n. 1
0
 def test(self):
     uptime_is_equal = self.almost_equal(myscript.uptime(),
                                         self.expected_result)
     self.assertTrue(uptime_is_equal)
Esempio n. 2
0
 def test(self):
     uptime_is_equal = self.almost_equal(myscript.uptime(), self.expected_result)
     self.assertTrue(uptime_is_equal)
Esempio n. 3
0
 def write_datafile(self):
     self.datafile.uptime = myscript.uptime()
     self.datafile.data = myscript.ProcNetDev().read()
     self.datafile.write()
Esempio n. 4
0
 def write_datafile(self):
     self.datafile.uptime = myscript.uptime()
     self.datafile.data = myscript.ProcNetDev().read()
     self.datafile.write()