tests: Drop installation of pytest-bdd

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2021-10-05 15:31:52 -07:00 committed by James Valleroy
parent 148d1ea311
commit 9faeedbf8f
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
3 changed files with 1 additions and 9 deletions

View File

@ -449,7 +449,6 @@ host$ pip3 install splinter
host$ pip3 install pytest-splinter
host$ pip3 install pytest-xdist # optional, to run tests in parallel
host$ sudo apt install firefox
host$ sudo apt install python3-pytest-bdd
host$ sudo apt install xvfb python3-pytest-xvfb # optional, to avoid opening browser windows
host$ sudo apt install smbclient # optional, to test samba
```

View File

@ -199,7 +199,7 @@ apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -yq --with-new-pkgs upgrade
# Install requirements for tests if not already installed as root
if ! [[ -e /usr/local/bin/geckodriver && -e /usr/local/bin/pytest-bdd ]]
if ! [[ -e /usr/local/bin/geckodriver ]]
then
/freedombox/plinth/tests/functional/install.sh
fi

View File

@ -8,13 +8,6 @@ sudo apt-get install -yq --no-install-recommends \
python3-pip python3-wheel firefox-esr git smbclient\
xvfb
if [ $(lsb_release --release --short) == '10' ]
then
pip3 install pytest-bdd==3.2.1
else
pip3 install pytest-bdd
fi
pip3 install splinter pytest-splinter pytest-xvfb
echo "Installing geckodriver"