For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:django/openSUSE_Tumbleweed/devel:languages:python:django.repo
zypper refresh
zypper install python-pytest-django
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:django/15.6/devel:languages:python:django.repo
zypper refresh
zypper install python-pytest-django
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:django/15.5/devel:languages:python:django.repo
zypper refresh
zypper install python-pytest-django