Skip to content

Commit 7031a4b

Browse files
committed
testing: remove legacy plugin settings from base.py settings
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
1 parent 8031ac0 commit 7031a4b

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

testing/config/settings/base.py

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -88,27 +88,8 @@
8888
]
8989
EMAIL_RECIPIENTS_INPUT = True
9090

91-
OPTIONSET_PROVIDERS = [ # deprecated in 2.5
92-
('simple', _('Simple provider'), 'plugins.optionset_providers.providers.SimpleProvider')
93-
]
94-
95-
PROJECT_SNAPSHOT_EXPORTS = [ # deprecated in 2.5
96-
('xml', _('RDMO XML'), 'rdmo.projects.exports.RDMOXMLExport'),
97-
]
98-
99-
PROJECT_ISSUE_PROVIDERS = [ # deprecated in 2.5
100-
('simple', _('Simple provider'), 'plugins.project_issue_providers.providers.SimpleIssueProvider')
101-
]
102-
103-
PROJECT_IMPORTS = [ # deprecated in 2.5
104-
('xml', _('RDMO XML'), 'rdmo.projects.imports.RDMOXMLImport'),
105-
('url', _('from URL'), 'rdmo.projects.imports.URLImport'),
106-
]
107-
108-
PROJECT_IMPORTS_LIST = ['url'] # deprecated in 2.5
109-
11091
INSTALLED_APPS += [
111-
'plugins',
92+
'plugins', # introduced in 2.5, rdmo/testing/plugins
11293
]
11394

11495
PLUGINS = [ # introduced in 2.5
@@ -118,15 +99,14 @@
11899
'rdmo.projects.exports.CSVSemicolonExport',
119100
'rdmo.projects.exports.JSONExport',
120101
'rdmo.projects.imports.RDMOXMLImport',
121-
# external rdmo/testing/plugins
122-
'plugins.optionset_providers.providers.SimpleProvider',
102+
# rdmo/testing/plugins
103+
'plugins.optionset_providers.providers.SimpleProvider', # here or in app/test
123104
'plugins.project_issue_providers.providers.SimpleIssueProvider',
124105
'plugins.project_export.exports.SimpleExportPlugin',
125106
'plugins.project_snapshot_export.exports.SimpleSnapshotExportPlugin',
126107
'plugins.project_import.imports.SimpleImportPlugin',
127108
]
128109

129-
130110
PROJECT_VALUES_VALIDATION = True
131111

132112
PROJECT_CONTACT = True

0 commit comments

Comments
 (0)