From ec405b69e005f450cec1544aa6d918e2ff05a637 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 3 Jan 2020 11:41:24 +0800 Subject: [PATCH] doc: report bug with device ID --- .github/ISSUE_TEMPLATE/bug_report.md | 10 ++++++++++ .github/ISSUE_TEMPLATE/bug_report_zh.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d5dd03b6..348ffe51 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,6 +17,16 @@ Please complete the following information: - OS: [e.g. macos, Linux, Windows] - Python [e.g. 3.6] - HttpRunner [e.g. 2.1.2] +- **Device ID**: [e.g. 190070690681122] + +How to get device ID? + +In Python interactive shell, execute the following command: + +```bash +>>> import uuid; print(uuid.getnode()) +190070690681122 +``` ## Traceback diff --git a/.github/ISSUE_TEMPLATE/bug_report_zh.md b/.github/ISSUE_TEMPLATE/bug_report_zh.md index 3cb953f2..7099691a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_zh.md +++ b/.github/ISSUE_TEMPLATE/bug_report_zh.md @@ -17,6 +17,16 @@ assignees: debugtalk - 操作系统类型: [e.g. macos, Linux, Windows] - Python 版本 [e.g. 3.6] - HttpRunner 版本 [e.g. 2.1.2] + - **设备 ID**: [e.g. 190070690681122] + +获取方式: + +在 Python 交互式 shell 中输入如下命令进行获取: + +```bash +>>> import uuid; print(uuid.getnode()) +190070690681122 +``` ## 项目文件内容(非必须)