From 5b888407a3f55478c55d16ab79fdc34748f88068 Mon Sep 17 00:00:00 2001 From: Ashley Anderson Date: Tue, 21 Jan 2025 10:33:45 -0500 Subject: [PATCH] Remove unnecessary test --- data-workflows/plugin/tests/test_processor.py | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/data-workflows/plugin/tests/test_processor.py b/data-workflows/plugin/tests/test_processor.py index d5044c9e7..ffd266d92 100644 --- a/data-workflows/plugin/tests/test_processor.py +++ b/data-workflows/plugin/tests/test_processor.py @@ -152,22 +152,6 @@ def test_stale_plugin_in_dynamo( put_pm_calls = [_create_put_pm_call(PMType.PYPI)] verify_calls(put_pm_calls=put_pm_calls) - def test_non_normalized_plugin_name(self, verify_calls): - non_normalized_plugin_name = PLUGIN.upper() - self._dynamo_latest_plugins = { - PLUGIN: VERSION, - non_normalized_plugin_name: VERSION, - } - self._pypi_latest_plugins = {"foo": VERSION} - - processor.update_plugin() - - self._zulip.assert_not_called() - put_pm_calls = [ - _create_put_pm_call(PMType.PYPI, name=non_normalized_plugin_name) - ] - verify_calls(put_pm_calls=put_pm_calls) - @pytest.mark.parametrize( "existing_types, put_pm_data, formatted_metadata", [ @@ -266,10 +250,8 @@ def test_replace_old_plugin_version_with_new( self._zulip.assert_not_called() -def _create_put_pm_call( - pm_type, data=None, is_latest=False, version=VERSION, name=PLUGIN -) -> call: - kwargs = {"plugin": name, "version": version, "plugin_metadata_type": pm_type} +def _create_put_pm_call(pm_type, data=None, is_latest=False, version=VERSION) -> call: + kwargs = {"plugin": PLUGIN, "version": version, "plugin_metadata_type": pm_type} if is_latest: kwargs["is_latest"] = is_latest