From cca845bb38d2892dabd6f7cb986f815b66eb4187 Mon Sep 17 00:00:00 2001 From: willqvq Date: Mon, 23 Nov 2020 19:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E5=90=8D=E7=A7=B0=E4=B8=BA=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .Jenkinsfile | 2 +- MANIFEST.in | 2 +- README.md | 2 +- {test => tests}/fastgit/test_fastgit.py | 0 {test => tests}/fastserver/test_app.py | 0 {test => tests}/fastserver/test_summary_utils.py | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename {test => tests}/fastgit/test_fastgit.py (100%) rename {test => tests}/fastserver/test_app.py (100%) rename {test => tests}/fastserver/test_summary_utils.py (100%) diff --git a/.Jenkinsfile b/.Jenkinsfile index c90a54a..e9fcbc0 100644 --- a/.Jenkinsfile +++ b/.Jenkinsfile @@ -26,7 +26,7 @@ pipeline { } stage('Package Testing') { steps { - sh 'pytest ./test --html=test_results.html --self-contained-html' + sh 'pytest ./tests --html=test_results.html --self-contained-html' } } } diff --git a/MANIFEST.in b/MANIFEST.in index 70f5d44..5317676 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,6 +4,6 @@ include README.md recursive-include fitlog/fastserver/static * recursive-include fitlog/fastserver/templates *.html include fitlog/fastserver/favicon.ico -prune test/ +prune tests/ recursive-include fitlog/fastgit/example/ * graft fitlog/fastgit/normal \ No newline at end of file diff --git a/README.md b/README.md index a49c1af..e166b39 100755 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ fitlog = fast + git + log, 是一款用于辅助用户记录日志和管理代 | |--- fastlog | |--- fastgit | |--- server -|-test +|-tests ``` diff --git a/test/fastgit/test_fastgit.py b/tests/fastgit/test_fastgit.py similarity index 100% rename from test/fastgit/test_fastgit.py rename to tests/fastgit/test_fastgit.py diff --git a/test/fastserver/test_app.py b/tests/fastserver/test_app.py similarity index 100% rename from test/fastserver/test_app.py rename to tests/fastserver/test_app.py diff --git a/test/fastserver/test_summary_utils.py b/tests/fastserver/test_summary_utils.py similarity index 100% rename from test/fastserver/test_summary_utils.py rename to tests/fastserver/test_summary_utils.py -- Gitee