diff --git a/HACKING.md b/HACKING.md index 07ba1adb7..5f2f230cf 100644 --- a/HACKING.md +++ b/HACKING.md @@ -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 ``` diff --git a/container b/container index 068de7962..8c8f56766 100755 --- a/container +++ b/container @@ -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 diff --git a/plinth/tests/functional/install.sh b/plinth/tests/functional/install.sh index 81ffad1db..ab8bc93ad 100755 --- a/plinth/tests/functional/install.sh +++ b/plinth/tests/functional/install.sh @@ -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"