Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
oec-hardware
提交
2e1f709e
O
oec-hardware
项目概览
openeuler
/
oec-hardware
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oec-hardware
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
2e1f709e
编写于
7月 01, 2020
作者:
C
cuixucui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Code specification rectification
上级
bebdbba4
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
13 addition
and
13 deletion
+13
-13
hwcompatible/client.py
hwcompatible/client.py
+1
-1
hwcompatible/commandUI.py
hwcompatible/commandUI.py
+1
-1
hwcompatible/compatibility.py
hwcompatible/compatibility.py
+1
-1
hwcompatible/device.py
hwcompatible/device.py
+2
-2
hwcompatible/document.py
hwcompatible/document.py
+2
-2
hwcompatible/env.py
hwcompatible/env.py
+1
-1
hwcompatible/log.py
hwcompatible/log.py
+1
-1
hwcompatible/reboot.py
hwcompatible/reboot.py
+1
-1
hwcompatible/sysinfo.py
hwcompatible/sysinfo.py
+1
-1
hwcompatible/test.py
hwcompatible/test.py
+1
-1
tests/cpufreq/cpufreq.py
tests/cpufreq/cpufreq.py
+1
-1
未找到文件。
hwcompatible/client.py
浏览文件 @
2e1f709e
...
...
@@ -23,7 +23,7 @@ except ImportError:
from
urllib2
import
urlopen
,
Request
,
HTTPError
class
Client
(
object
)
:
class
Client
:
"""
upload client
"""
...
...
hwcompatible/commandUI.py
浏览文件 @
2e1f709e
...
...
@@ -16,7 +16,7 @@ import sys
import
readline
class
CommandUI
(
object
)
:
class
CommandUI
:
"""
Command user interface selection
"""
...
...
hwcompatible/compatibility.py
浏览文件 @
2e1f709e
...
...
@@ -29,7 +29,7 @@ from .reboot import Reboot
from
.client
import
Client
class
EulerCertification
(
object
):
class
EulerCertification
():
"""
Main program of oec-hardware
"""
...
...
hwcompatible/device.py
浏览文件 @
2e1f709e
...
...
@@ -34,7 +34,7 @@ def filter_char(string):
return
filtered
class
CertDevice
(
object
)
:
class
CertDevice
:
"""
Certified device
"""
...
...
@@ -80,7 +80,7 @@ class CertDevice(object):
return
self
.
devices
class
Device
(
object
)
:
class
Device
:
"""
get device properties
"""
...
...
hwcompatible/document.py
浏览文件 @
2e1f709e
...
...
@@ -21,7 +21,7 @@ from .sysinfo import SysInfo
from
.env
import
CertEnv
class
Document
(
object
):
class
Document
():
"""
Read and write documents
"""
...
...
@@ -168,7 +168,7 @@ class FactoryDocument(Document):
return
factory
class
ConfigFile
(
object
)
:
class
ConfigFile
:
"""
Get parameters from configuration file
"""
...
...
hwcompatible/env.py
浏览文件 @
2e1f709e
...
...
@@ -13,7 +13,7 @@
# Create: 2020-04-01
class
CertEnv
(
object
)
:
class
CertEnv
:
"""
Certification file path
"""
...
...
hwcompatible/log.py
浏览文件 @
2e1f709e
...
...
@@ -66,7 +66,7 @@ class Log(object):
self
.
log
=
None
class
Logger
(
object
):
class
Logger
():
"""
Output results to file
"""
...
...
hwcompatible/reboot.py
浏览文件 @
2e1f709e
...
...
@@ -19,7 +19,7 @@ from .env import CertEnv
from
.command
import
Command
,
CertCommandError
class
Reboot
(
object
)
:
class
Reboot
:
"""
Special for restart tasks, so that the test can be continued after the machine is restarted
"""
...
...
hwcompatible/sysinfo.py
浏览文件 @
2e1f709e
...
...
@@ -16,7 +16,7 @@ import os
import
re
class
SysInfo
(
object
)
:
class
SysInfo
:
"""
Get system information
"""
...
...
hwcompatible/test.py
浏览文件 @
2e1f709e
...
...
@@ -13,7 +13,7 @@
# Create: 2020-04-01
class
Test
(
object
)
:
class
Test
:
"""
Test set template
"""
...
...
tests/cpufreq/cpufreq.py
浏览文件 @
2e1f709e
...
...
@@ -20,7 +20,7 @@ from hwcompatible.test import Test
from
hwcompatible.command
import
Command
class
CPU
(
object
)
:
class
CPU
:
def
__init__
(
self
):
self
.
cpu
=
None
self
.
nums
=
None
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录