mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-10 19:08:01 +00:00
Do not cover custom install dirs
This commit is contained in:
1 file changed
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user