From 8f4f3d3991bd99993bed511cdf4fd702ef0bb6fc Mon Sep 17 00:00:00 2001 From: drew2a Date: Fri, 9 Oct 2020 11:22:27 +0200 Subject: [PATCH] PR fixes PR fixes --- src/README.md | 13 ++++++++----- src/{requirements-dev.txt => requirements-test.txt} | 5 +---- 2 files changed, 9 insertions(+), 9 deletions(-) rename src/{requirements-dev.txt => requirements-test.txt} (62%) diff --git a/src/README.md b/src/README.md index f7ffd6ebf98..3deb46fe147 100644 --- a/src/README.md +++ b/src/README.md @@ -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 ``` \ No newline at end of file diff --git a/src/requirements-dev.txt b/src/requirements-test.txt similarity index 62% rename from src/requirements-dev.txt rename to src/requirements-test.txt index fd6b4a38c4c..507eef92b73 100644 --- a/src/requirements-dev.txt +++ b/src/requirements-test.txt @@ -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 \ No newline at end of file