Lines Matching refs:self
26 def __init__(self, configs):
27 self.TAG = self.__class__.__name__
28 TestCase.__init__(self, self.TAG, configs)
29 self.tests = [
32 self.driver = UiDriver(self.device1)
33 self.sn = self.device1.device_sn
35 def setup(self):
36 self.log.info("case25_selinux001 start")
37 host.shell("hdc -t {} shell rm -r /data/log/hilog".format(self.sn))
38 host.shell("hdc -t {} shell hilog -d /system/bin/samgr".format(self.sn))
39 self.driver.System.reboot()
41 def test_step(self):
42 log_revice_path = os.path.join(self.get_case_report_path(), "disk_drop")
43 tools.disk_drop_log.pulling_disk_dropping_logs(log_revice_path, self.sn)
49 def teardown(self):
50 self.log.info("case25_selinux001 done")