@@ -110,10 +110,10 @@ def vim(chocolatey_mod):
110
110
111
111
112
112
@pytest .fixture (scope = "function" )
113
- def everything (chocolatey_mod ):
114
- chocolatey_mod .install (name = "everything " , version = "1.4.11024 " )
113
+ def sudo (chocolatey_mod ):
114
+ chocolatey_mod .install (name = "sudo " , version = "1.1.2 " )
115
115
yield
116
- chocolatey_mod .uninstall (name = "everything " , force = True )
116
+ chocolatey_mod .uninstall (name = "sudo " , force = True )
117
117
118
118
119
119
def test_installed_latest (clean , chocolatey , chocolatey_mod ):
@@ -129,12 +129,10 @@ def test_installed_version(clean, chocolatey, chocolatey_mod):
129
129
assert result ["vim" ]["installed" ][0 ] == "9.0.1672"
130
130
131
131
132
- @pytest .mark .skipif (True , reason = "Timing out, skipping for now" )
133
- def test_installed_version_existing_capitalization (
134
- everything , chocolatey , chocolatey_mod
135
- ):
136
- result = chocolatey .installed (name = "everything" , version = "1.4.11026" )
137
- expected_changes = {"Everything" : {"new" : ["1.4.11026" ], "old" : ["1.4.11024" ]}}
132
+ # @pytest.mark.skipif(True, reason="Timing out, skipping for now")
133
+ def test_installed_version_existing_capitalization (sudo , chocolatey , chocolatey_mod ):
134
+ result = chocolatey .installed (name = "sudo" , version = "1.1.3" )
135
+ expected_changes = {"Sudo" : {"new" : ["1.1.3" ], "old" : ["1.1.2" ]}}
138
136
assert result ["changes" ] == expected_changes
139
137
140
138
0 commit comments