#!/bin/sh set -e # We don't want to include this in the installed package, but a few tests of # fallback behaviour require it. sudo mkdir -p /usr/share/python3-django-countries/locale/en@test/LC_MESSAGES sudo cp -a django_countries/locale/en@test/LC_MESSAGES/django.mo /usr/share/python3-django-countries/locale/en@test/LC_MESSAGES/ cd ${AUTOPKGTEST_TMP} for p in $(py3versions -s); do DJANGO_SETTINGS_MODULE=django_countries.tests.settings $p /usr/bin/django-admin test django_countries.tests done