File tree Expand file tree Collapse file tree 8 files changed +7
-7
lines changed
Expand file tree Collapse file tree 8 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3636 flake8 setup.py dropbox example test
3737 - name : Run Unit Tests
3838 run : |
39- pytest test/test_dropbox_unit.py
39+ pytest test/unit/ test_dropbox_unit.py
4040 Docs :
4141 runs-on : macos-latest
4242 steps :
Original file line number Diff line number Diff line change 2525 python setup.py install
2626 - name : Generate Unit Test Coverage
2727 run : |
28- coverage run --rcfile=.coveragerc -m pytest test/test_dropbox_unit.py
28+ coverage run --rcfile=.coveragerc -m pytest test/unit/ test_dropbox_unit.py
2929 coverage xml
3030 - name : Publish Coverage
3131 uses : codecov/codecov-action@v1.0.15
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2424 session ,
2525 stone_serializers ,
2626)
27- from dropbox .dropbox import PATH_ROOT_HEADER , SELECT_USER_HEADER
27+ from dropbox .dropbox_client import PATH_ROOT_HEADER , SELECT_USER_HEADER
2828from dropbox .exceptions import (
2929 ApiError ,
3030 AuthError ,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ per-file-ignores =
1717[testenv:test_integration]
1818
1919commands =
20- pytest {posargs}
20+ pytest test/integration/test_dropbox.py
2121
2222passenv =
2323 DROPBOX_REFRESH_TOKEN
@@ -57,7 +57,7 @@ usedevelop = true
5757[testenv:coverage]
5858
5959commands =
60- coverage run --rcfile =.coveragerc -m pytest test/test_dropbox_unit.py
60+ coverage run --rcfile =.coveragerc -m pytest test/unit/ test_dropbox_unit.py
6161 coverage report
6262
6363deps =
6666[testenv:codecov]
6767
6868commands =
69- coverage run --rcfile =.coveragerc -m pytest test/test_dropbox_unit.py
69+ coverage run --rcfile =.coveragerc -m pytest test/unit/ test_dropbox_unit.py
7070 coverage xml
7171
7272deps =
7575[testenv:test_unit]
7676
7777commands =
78- pytest test/test_dropbox_unit.py
78+ pytest test/unit/ test_dropbox_unit.py
7979
8080deps =
8181 -rtest/requirements.txt
You can’t perform that action at this time.
0 commit comments