コード例 #1
0
 def cleanup(self, host):
     if self._shill_xmlrpc_proxy is not None:
         self._shill_xmlrpc_proxy.clean_profiles()
     if self._router is not None:
         self._router.close()
     buffet_config.naive_restart(host=host)
コード例 #2
0
 def close(self):
     """Cleanup to be used when done with this instance."""
     buffet_config.naive_restart()
     self._gcd.close()
     if self._temp_dir_path is not None:
         shutil.rmtree(self._temp_dir_path, True)
コード例 #3
0
 def cleanup(self, host):
     buffet_config.naive_restart(host=host)
コード例 #4
0
 def cleanup(self):
     """Clean up processes altered during the test."""
     buffet_config.naive_restart()