---
  test_name: Hivemind condenser_api.get_active_votes most upvoted

  marks:
    - fullsynctest

  includes:
    - !include ../../common.yaml

  stages:
    - name: condenser_api.get_active_votes most upvoted
      request:
        url: "{service.proto:s}://{service.server:s}:{service.port}/"
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "condenser_api.get_active_votes"
          params: {"author":"hvr", "permlink": "my-weekly-travel-photo-25"}
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:has_valid_response
          extra_kwargs:
            method: "most_upvoted_post"
            directory: "condenser_api_patterns/get_active_votes"
