mirror of
https://github.com/borgbase/vorta
synced 2025-02-08 15:44:34 +00:00
Update command for running tests.
This commit is contained in:
parent
caff365c83
commit
9b868c98a1
2 changed files with 3 additions and 5 deletions
|
@ -73,7 +73,7 @@ $ pyinstaller --clean --noconfirm vorta.spec
|
|||
|
||||
Tests are in the folder `/tests`. Testing happens at the level of UI components. Calls to `borg` are mocked and can be replaced with some example json-output. To run tests:
|
||||
```
|
||||
$ python setup.py test
|
||||
$ pytest
|
||||
```
|
||||
|
||||
## Why the Name?
|
||||
|
|
|
@ -43,17 +43,15 @@ tests_require =
|
|||
pytest
|
||||
pytest-qt
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
pytest-faulthandler
|
||||
|
||||
[options.entry_points]
|
||||
gui_scripts =
|
||||
vorta = vorta.__main__:main
|
||||
|
||||
[aliases]
|
||||
test=pytest
|
||||
|
||||
[tool:pytest]
|
||||
addopts = -vs
|
||||
addopts = --forked -vs
|
||||
testpaths = tests
|
||||
qt_default_raising = true
|
||||
filterwarnings =
|
||||
|
|
Loading…
Reference in a new issue