From 16fbe8524756013713365fc2a656833639c90ec2 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 28 Apr 2020 15:51:41 +1000 Subject: Fix dependencies and tests for clean Python 2 & 3 test runs under Docker. This change gives a clean test run in the Debian-based Python 2 and Python 3 docker images. --- Dockerfile-debian-python2-sqlite | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Dockerfile-debian-python2-sqlite') diff --git a/Dockerfile-debian-python2-sqlite b/Dockerfile-debian-python2-sqlite index b055a434..155ceda5 100644 --- a/Dockerfile-debian-python2-sqlite +++ b/Dockerfile-debian-python2-sqlite @@ -24,7 +24,9 @@ python-py \ python-pytest \ python-pytest-xdist \ python-six \ +python-snowballstemmer \ python-sphinx \ +python-sphinxcontrib.websupport \ python-webtest RUN apt-get install -y \ @@ -58,6 +60,8 @@ RUN ./bootstrap.sh RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure --without-python3 RUN make +RUN ./bin/python -m pytest ./mediagoblin/tests --boxed + RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini -- cgit v1.2.3