File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
{{cookiecutter.project_name}}/tests Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,12 @@ def test_plugins_discovery():
16
16
if plugin_type == "importer" :
17
17
new_importers = ["{{cookiecutter.plugin_name }}" ]
18
18
for importer in new_importers :
19
- assert importer .replace ("import_ " , "" ) in io_interface ._importer_methods
19
+ assert importer .replace ("importer_ " , "" ) in io_interface ._importer_methods
20
20
21
21
elif plugin_type == "diagnostic" :
22
- new_dagnostics = ["{{cookiecutter.plugin_name }}" ]
22
+ new_diagnostics = ["{{cookiecutter.plugin_name }}" ]
23
23
for diagnostic in new_diagnostics :
24
24
assert diagnostic in pp_interface ._diagnostics_methods
25
-
26
- elif plugin_type == "ensemblestat" :
27
- new_ensemblestats = ["{{cookiecutter.plugin_name }}" ]
28
- for ensemblestat in new_ensemblestats :
29
- assert ensemblestat in pp_interface ._ensemblestats_methods
30
25
31
26
def test_importers_with_files ():
32
27
"""Additionally, you can test that your plugin correctly reads the corresponding
You can’t perform that action at this time.
0 commit comments