From a41d484d6df3a9836577ef6e8e404f074a0478bb Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:01:25 +1000 Subject: [PATCH] Add mandatory argument 'module_name' to tests --- tests/test_create_template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_create_template.py b/tests/test_create_template.py index b4f0a33..3968f04 100644 --- a/tests/test_create_template.py +++ b/tests/test_create_template.py @@ -69,6 +69,7 @@ def test_run_plugin_tests_with_napari_prefix(copie, capsys): result = copie.copy(extra_answers={ "plugin_name": name, "display_name": "napari Foo", + "module_name": "napari_foo", "short_description": "Super fast foo for all the bars", "full_name": "napari bot", "email": "etal@example.com", @@ -92,6 +93,7 @@ def test_run_select_plugins(copie, capsys): extra_answers={ "plugin_name": name, "display_name": "Foo Bar", + "module_name": "anything", "short_description": "Super fast foo for all the bars", "full_name": "napari bot", "email": "etal@example.com", @@ -129,6 +131,7 @@ def test_pre_commit_validity(copie, include_reader_plugin, include_writer_plugin extra_answers={ "plugin_name": "anything", "display_name": "Foo Bar", + "module_name": "anything", "short_description": "Super fast foo for all the bars", "full_name": "napari bot", "email": "etal@example.com",