Skip to content

Commit

Permalink
Fixed Molecule tests
Browse files Browse the repository at this point in the history
Due to plugin changes.
  • Loading branch information
freemanjp committed Nov 16, 2024
1 parent 2ca18a2 commit 9503564
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions molecule/default/tests/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_config_files(host, file_path, expected_text):


@pytest.mark.parametrize('plugin_dir_name', [
'google-java-format',
'idea_plugin',
'MavenHelper'
])
def test_plugins_installed(host, plugin_dir_name):
Expand All @@ -60,9 +60,10 @@ def test_jar_plugin_installed(host):
'/home/test_usr',
plugins_dir_pattern)

plugin_path = host.check_output('find %s | grep --color=never -E %s',
plugins_path,
'save-actions.*\\.jar')
plugin_path = host.check_output(
'find %s | grep --color=never -E %s | head -1',
plugins_path,
'save-actions.*\\.jar')

plugin_file = host.file(plugin_path)

Expand Down

0 comments on commit 9503564

Please sign in to comment.