관리-도구
편집 파일: test_system.cpython-36.pyc
3 ��JZ/� � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddlm Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm!Z! ddlm"Z" ddlm#Z# ddlm$Z$ ddlm%Z% ddlm&Z& ddlm'Z' ddlm(Z( ddlm)Z) ddlm*Z* ddlm+Z+ dd lm,Z, dd!lm-Z- G d"d#� d#e-j.�Z/e0d$k�r�e(e1� dS )%zTests for system APIS.� N)�AIX)�BSD)�FREEBSD)�LINUX)�NETBSD)�OPENBSD)�OSX)�POSIX)�SUNOS)�WINDOWS)�long)�APPVEYOR)�ASCII_FS)�check_net_address)�DEVNULL)�enum)�get_test_subprocess)�HAS_BATTERY)�HAS_CPU_FREQ)�HAS_SENSORS_BATTERY)�HAS_SENSORS_FANS)�HAS_SENSORS_TEMPERATURES)�mock)� reap_children)�retry_before_failing)�run_test_module_by_name)�safe_rmpath)�TESTFN)�TESTFN_UNICODE)�TRAVIS)�unittestc @ sB e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z eje d�dd� �Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Zd5d6� Z d7d8� Z!d9d:� Z"d;d<� Z#d=d>� Z$d?d@� Z%dAdB� Z&dCdD� Z'dEdF� Z(dGdH� Z)eje*dI�dJdK� �Z+eje,�o\e-j.j/dL� dM�eje0�ote1j2� dNkdO�dPdQ� ��Z3dRdS� Z4eje0�p�e*�o�e1j5� dT�dUdV� �Z6dWdX� Z7eje8 dY�dZd[� �Z9d\d]� Z:eje; d^�d_d`� �Z<eje; d^�dadb� �Z=eje> d^�eje? dc�ddde� ��Z@ejeA d^�dfdg� �ZBdNS )h�TestSystemAPIszTests for system-related APIs.c C s t t� d S )N)r r )�self� r# �#/usr/lib64/python3.6/test_system.py�setUp>