def METHOD_NAME(
    mock_smb_client: SMBClient,
    smb_remote_access_client: SMBRemoteAccessClient,
):
    tags = EXPLOITER_TAGS.copy()
    mock_smb_client.run_service.side_effect = Exception("file")
    smb_remote_access_client.login(FULL_CREDENTIALS[0], set())
    with pytest.raises(RemoteCommandExecutionError):
        smb_remote_access_client.execute_agent(DESTINATION_PATH, tags)
    assert tags == EXPLOITER_TAGS.union(EXECUTION_TAGS)