diff --git a/.Jenkinsfile b/.Jenkinsfile index c90a54ac999066e8be6277552f8943599c49b08e..e9fcbc0ff5bfaefc8cf29cc97c3b145aa6234626 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 70f5d44a44b85c10e040bb9d6f00749fda9b2b86..53176760b0f0d4eedde612f071d421e7a47e032a 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 a49c1af0a407dbcea688e15c77c1b2b1001cd22a..e166b39802376b21aea82161c76add65d1212a11 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