Do not cover custom install dirs

This commit is contained in:
Matthias 2022-05-15 01:29:50 +02:00
parent 76f92003fd
commit 1cb51d1782
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -96,8 +96,10 @@ class PluginConfigInstallSerializer(serializers.Serializer):
install_name.append(f'{packagename}@{url}')
else:
install_name.append(url)
else:
else: # pragma: no cover
# using a custom package repositories
# This is only for pypa compliant directory services (all current are tested above)
# and not covered by tests.
install_name.append('-i')
install_name.append(url)
install_name.append(packagename)