@@ -255,7 +255,7 @@ def test_toggle_from_enabled(self):
255255 ]
256256 actions_taken , misc_msg = self .app_instance .toggle ()
257257 self .mock_run_occ .assert_called_with (
258- self .mock_ansible_module , [f "app:disable" , self .app_name ]
258+ self .mock_ansible_module , ["app:disable" , self .app_name ]
259259 )
260260 self .assertEqual (self .app_instance .state , "disabled" )
261261 self .assertEqual (actions_taken , ["disabled" ])
@@ -268,7 +268,7 @@ def test_toggle_from_disabled(self):
268268 ]
269269 actions_taken , misc_msg = self .app_instance .toggle ()
270270 self .mock_run_occ .assert_called_with (
271- self .mock_ansible_module , [f "app:enable" , self .app_name ]
271+ self .mock_ansible_module , ["app:enable" , self .app_name ]
272272 )
273273 self .assertEqual (self .app_instance .state , "present" )
274274 self .assertEqual (actions_taken , ["enabled" ])
@@ -291,7 +291,7 @@ def test_update(self):
291291 self .mock_run_occ .side_effect = [(0 , "" )]
292292 old_version , new_version = self .app_instance .update ()
293293 self .mock_run_occ .assert_called_with (
294- self .mock_ansible_module , [f "app:update" , self .app_name ]
294+ self .mock_ansible_module , ["app:update" , self .app_name ]
295295 )
296296 self .assertEqual (old_version , "1.0.0" )
297297 self .assertEqual (new_version , "1.1.0" )
0 commit comments