         |> get_credential(:none)
         |> get_sysname_with_engine_id(@working_agent)
 
-      assert result == [@sysname_result]
+      assert result == {:ok, [@sysname_result]}
     end
 
     test "timeout without engine discovery" do

    get_sysname(
      credential,
      agent,
      engine_id: <<0x80004FB805636C6F75644DAB22CC::14*8>>
    )
  end


  @sysname_result %{
    oid: @sysname_oid,
    type: :"OCTET STRING",
    value: "test-52567"
  }

  # Presumably working agent, but has frequent troubles
  @working_agent "demo.snmplabs.com:1161"

  # Optimistically, should be a broken agent
  @borking_agent "localhost:65535"
