From 95bfa6030abf5d14f2e871681b020f54b622f4cc Mon Sep 17 00:00:00 2001 From: shmilylty Date: Sun, 4 Aug 2019 19:39:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8=E9=9B=86?= =?UTF-8?q?=E6=88=90=E5=8C=96=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 +- oneforall/__init__.py | 1 - tests/test_example.py => oneforall/example.py | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 oneforall/__init__.py rename tests/test_example.py => oneforall/example.py (73%) diff --git a/.travis.yml b/.travis.yml index d08eb43..e45f022 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ install: - pip install -r requirements.txt script: - - coverage run tests/test_example.py + - coverage run oneforall/example.py after_success: - codecov \ No newline at end of file diff --git a/oneforall/__init__.py b/oneforall/__init__.py deleted file mode 100644 index df3e58e..0000000 --- a/oneforall/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# coding=utf-8 diff --git a/tests/test_example.py b/oneforall/example.py similarity index 73% rename from tests/test_example.py rename to oneforall/example.py index 1875607..9ec1b62 100644 --- a/tests/test_example.py +++ b/oneforall/example.py @@ -2,10 +2,10 @@ # coding=utf-8 """ -测试 +示例 """ -from oneforall import oneforall +import oneforall test = oneforall.OneForAll(target='example.com') test.run()