Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
PR fixes
  • Loading branch information
drew2a committed Oct 9, 2020
1 parent 39738b2 commit 8f4f3d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
13 changes: 8 additions & 5 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ tribler.sh
Install all necessary dependencies:

```
python3 -m pip install -r requirements-dev.txt
python3 -m pip install -r requirements-test.txt
```

Run tests:
Export to PYTHONPATH the following directories:

```
export PYTHONPATH=${PYTHONPATH}:`echo {pyipv8,tribler-common,tribler-core,tribler-gui} | tr " " :`
* tribler-common
* tribler-core
* tribler-gui

Execute:
```
python3 -m pytest tribler-core
python3 -m pytest tribler-common
python3 -m pytest tribler-gui
python3 -m pytest tribler-gui --guitests
```
5 changes: 1 addition & 4 deletions src/requirements-dev.txt → src/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
pytest
pytest-asyncio
pytest-cov
pytest-flakefinder
pytest-forked
pytest-mock
pytest-mock
pytest-randomly
pytest-timeout
pytest-xdist

asynctest
coverage

0 comments on commit 8f4f3d3

Please sign in to comment.