File: rules

package info (click to toggle)
pytest-django 4.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 540 kB
  • sloc: python: 3,505; makefile: 149
file content (15 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=pytest-django
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	$(RM) pytest_django/_version.py

override_dh_auto_test:
# Tests not enabled because required django-configurations not yet packaged
# in Debian
# 	PYTHONPATH=. \
# 	dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest --ds=pytest_django_test.settings_sqlite --strict -r fEsxXw"