Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
The Editor Config extension ID has changed case for the insiders build.
  • Loading branch information
freemanjp committed Jan 28, 2024
1 parent c5f3faa commit 37e474e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
users:
- username: test_usr
visual_studio_code_extensions:
- EditorConfig.EditorConfig
- editorconfig.editorconfig
- wholroyd.jinja
visual_studio_code_extensions_absent:
- streetsidesoftware.code-spell-checker
Expand Down
4 changes: 2 additions & 2 deletions molecule/default/tests/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_visual_studio_code_uninstall_extensions(host):


@pytest.mark.parametrize('extension', [
'EditorConfig.EditorConfig',
'editorconfig.editorconfig',
'wholroyd.jinja'
])
def test_visual_studio_code_insiders(host, extension):
Expand All @@ -36,7 +36,7 @@ def test_visual_studio_code_insiders(host, extension):
def test_visual_studio_code_extensions_insiders(host):
output = host.check_output('sudo --user test_usr -H code-insiders %s',
'--list-extensions')
assert 'EditorConfig.EditorConfig' in output
assert 'editorconfig.editorconfig' in output


def test_visual_studio_code_uninstall_extensions_insiders(host):
Expand Down
2 changes: 1 addition & 1 deletion molecule/opensuse/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
users:
- username: test_usr
visual_studio_code_extensions:
- EditorConfig.EditorConfig
- editorconfig.editorconfig
- wholroyd.jinja
visual_studio_code_extensions_absent:
- streetsidesoftware.code-spell-checker
Expand Down

0 comments on commit 37e474e

Please sign in to comment.