mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
148d1ea311
commit
9faeedbf8f
@ -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
|
||||
```
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user