Commit 049b646f authored by Pawel Maniora's avatar Pawel Maniora

condenser get accounts test

parent 187d8da4
[
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM88hPEnvxkjNy3fGRYD1x1As9sRoeC2J3ExgoFLs2ptC5y2GVUM",
1
]
],
"weight_threshold": 1
},
"balance": "491.203 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-05-11T21:11:09",
"curation_rewards": 185495,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1463001069
},
"guest_bloggers": [],
"id": 8363,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-18T20:54:27",
"last_owner_update": "2016-07-18T20:54:27",
"last_post": "2016-09-12T22:13:45",
"last_root_post": "2016-09-12T21:37:27",
"last_vote_time": "2016-09-13T19:14:00",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM7MjV8kvyvHEVQBq3vkJLqjL4BgSwTaMxL9w2Z19AHJ98oEYpv3",
"mined": false,
"name": "camilla",
"next_vesting_withdrawal": "1969-12-31T23:59:59",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM82hEhbDUKrZKdaqy1FokVgijx2ifno4RwMdeCa46ebtApMRYRu",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 18154,
"post_count": 698,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM4xuvroftPfdqJgkta3gHiceBUrqpVFPtvvFcd62kWS9TxKwsm7",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 16483404,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "34348055714672",
"reset_account": "null",
"reward_sbd_balance": "0.000 HBD",
"reward_steem_balance": "0.000 HIVE",
"reward_vesting_balance": "0.000000 VESTS",
"reward_vesting_steem": "0.000 HIVE",
"savings_balance": "0.000 HIVE",
"savings_sbd_balance": "0.000 HBD",
"savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_sbd_seconds": "0",
"savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
"sbd_balance": "391.194 HBD",
"sbd_last_interest_payment": "2016-09-08T07:52:42",
"sbd_seconds": "196411849656",
"sbd_seconds_last_update": "2016-09-14T08:21:21",
"tags_usage": [],
"to_withdraw": 0,
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "42344593.521289 VESTS",
"vesting_withdraw_rate": "0.000000 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 9949,
"last_update_time": 1473794040
},
"voting_power": 9949,
"withdraw_routes": 0,
"withdrawn": 0,
"witness_votes": [],
"witnesses_voted_for": 0
}
]
---
test_name: Hivemind condenser_api.get_accounts patterns test camilla #33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: condenser_api.get_accounts patterns test camilla
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_accounts"
params: [["camilla"]]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "camilla"
directory: "condenser_api_patterns/get_accounts"
[
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM88hPEnvxkjNy3fGRYD1x1As9sRoeC2J3ExgoFLs2ptC5y2GVUM",
1
]
],
"weight_threshold": 1
},
"balance": "491.203 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-05-11T21:11:09",
"curation_rewards": 185495,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1463001069
},
"guest_bloggers": [],
"id": 8363,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-18T20:54:27",
"last_owner_update": "2016-07-18T20:54:27",
"last_post": "2016-09-12T22:13:45",
"last_root_post": "2016-09-12T21:37:27",
"last_vote_time": "2016-09-13T19:14:00",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM7MjV8kvyvHEVQBq3vkJLqjL4BgSwTaMxL9w2Z19AHJ98oEYpv3",
"mined": false,
"name": "camilla",
"next_vesting_withdrawal": "1969-12-31T23:59:59",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM82hEhbDUKrZKdaqy1FokVgijx2ifno4RwMdeCa46ebtApMRYRu",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 18154,
"post_count": 698,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM4xuvroftPfdqJgkta3gHiceBUrqpVFPtvvFcd62kWS9TxKwsm7",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 16483404,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "34348055714672",
"reset_account": "null",
"reward_sbd_balance": "0.000 HBD",
"reward_steem_balance": "0.000 HIVE",
"reward_vesting_balance": "0.000000 VESTS",
"reward_vesting_steem": "0.000 HIVE",
"savings_balance": "0.000 HIVE",
"savings_sbd_balance": "0.000 HBD",
"savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_sbd_seconds": "0",
"savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
"sbd_balance": "391.194 HBD",
"sbd_last_interest_payment": "2016-09-08T07:52:42",
"sbd_seconds": "196411849656",
"sbd_seconds_last_update": "2016-09-14T08:21:21",
"tags_usage": [],
"to_withdraw": 0,
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "42344593.521289 VESTS",
"vesting_withdraw_rate": "0.000000 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 9949,
"last_update_time": 1473794040
},
"voting_power": 9949,
"withdraw_routes": 0,
"withdrawn": 0,
"witness_votes": [],
"witnesses_voted_for": 0
},
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM6e8Lya5DLy68zE2ZA245gC5YRdK9Ka9pATEbD5eGRUjPQaef9t",
1
]
],
"weight_threshold": 1
},
"balance": "0.000 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-08-08T20:46:12",
"curation_rewards": 1769,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1470689172
},
"guest_bloggers": [],
"id": 52306,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "1970-01-01T00:00:00",
"last_owner_update": "1970-01-01T00:00:00",
"last_post": "2016-09-09T20:40:09",
"last_root_post": "2016-09-01T21:48:12",
"last_vote_time": "2016-09-15T15:48:36",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM5Y7kHyxuJ2xXDCBLykUFkZj5D1JfUXwuzuycrsqzcvPyyU38Rr",
"mined": false,
"name": "ryan-singer",
"next_vesting_withdrawal": "2016-09-16T19:56:00",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM59QRA2VjDPrBsemtihtX2SQPXDxvpht6VtAVr9kba1HxvfAL8Q",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 10000,
"post_count": 51,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM767cycX9jUkyfp6FapF89KPXg7mjUQg9XKNzGbBWzCdmeLd8Zi",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 1334110,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "3575830946674",
"reset_account": "null",
"reward_sbd_balance": "0.000 HBD",
"reward_steem_balance": "0.000 HIVE",
"reward_vesting_balance": "0.000000 VESTS",
"reward_vesting_steem": "0.000 HIVE",
"savings_balance": "0.000 HIVE",
"savings_sbd_balance": "0.000 HBD",
"savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_sbd_seconds": "0",
"savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
"sbd_balance": "353.437 HBD",
"sbd_last_interest_payment": "2016-09-09T12:40:18",
"sbd_seconds": "187272166566",
"sbd_seconds_last_update": "2016-09-15T16:56:27",
"tags_usage": [],
"to_withdraw": "2413058773401",
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "2379922.093390 VESTS",
"vesting_withdraw_rate": "23202.488205 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 9949,
"last_update_time": 1473954516
},
"voting_power": 9949,
"withdraw_routes": 0,
"withdrawn": "46404976410",
"witness_votes": [
"royaltiffany",
"steve-walschot"
],
"witnesses_voted_for": 2
},
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM88hPEnvxkjNy3fGRYD1x1As9sRoeC2J3ExgoFLs2ptC5y2GVUM",
1
]
],
"weight_threshold": 1
},
"balance": "491.203 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-05-11T21:11:09",
"curation_rewards": 185495,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1463001069
},
"guest_bloggers": [],
"id": 8363,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-18T20:54:27",
"last_owner_update": "2016-07-18T20:54:27",
"last_post": "2016-09-12T22:13:45",
"last_root_post": "2016-09-12T21:37:27",
"last_vote_time": "2016-09-13T19:14:00",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM7MjV8kvyvHEVQBq3vkJLqjL4BgSwTaMxL9w2Z19AHJ98oEYpv3",
"mined": false,
"name": "camilla",
"next_vesting_withdrawal": "1969-12-31T23:59:59",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM82hEhbDUKrZKdaqy1FokVgijx2ifno4RwMdeCa46ebtApMRYRu",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 18154,
"post_count": 698,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM4xuvroftPfdqJgkta3gHiceBUrqpVFPtvvFcd62kWS9TxKwsm7",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 16483404,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "34348055714672",
"reset_account": "null",
"reward_sbd_balance": "0.000 HBD",
"reward_steem_balance": "0.000 HIVE",
"reward_vesting_balance": "0.000000 VESTS",
"reward_vesting_steem": "0.000 HIVE",
"savings_balance": "0.000 HIVE",
"savings_sbd_balance": "0.000 HBD",
"savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_sbd_seconds": "0",
"savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
"sbd_balance": "391.194 HBD",
"sbd_last_interest_payment": "2016-09-08T07:52:42",
"sbd_seconds": "196411849656",
"sbd_seconds_last_update": "2016-09-14T08:21:21",
"tags_usage": [],
"to_withdraw": 0,
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "42344593.521289 VESTS",
"vesting_withdraw_rate": "0.000000 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 9949,
"last_update_time": 1473794040
},
"voting_power": 9949,
"withdraw_routes": 0,
"withdrawn": 0,
"witness_votes": [],
"witnesses_voted_for": 0
}
]
---
test_name: Hivemind condenser_api.get_accounts patterns test double 33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: condenser_api.get_accounts patterns test double 33091
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_accounts"
params: [["camilla","ryan-singer","camilla"]]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "double"
directory: "condenser_api_patterns/get_accounts"
[
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM6dsstfqTmFmHh775wVHPDqsss5iYnTN6A89suRKaXH6RX6giJJ",
1
]
],
"weight_threshold": 1
},
"balance": "3.900 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-04-28T00:13:27",
"curation_rewards": 0,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1461802407
},
"guest_bloggers": [],
"id": 6401,
"json_metadata": "{}",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-20T21:59:54",
"last_owner_update": "2016-07-20T21:59:54",
"last_post": "2016-07-31T13:14:45",
"last_root_post": "2016-07-31T13:14:45",
"last_vote_time": "2016-07-31T13:14:45",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM7AGhoa6UrdNB7cGp1sTfhmaZoNcKnLMGiTjUTGHqJfTJ8XrU3K",
"mined": true,
"name": "drifter1",
"next_vesting_withdrawal": "2016-09-20T21:36:18",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM8T9HRGeWR8vtwkPRpL2kbuD9hg1m22AW3JY3Ukxq7J1VySDUza",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 68818,
"post_count": 31,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM7i8AK8KuYsgZAdhkxzWwZ1yZncVe3mSQxgK8B62bgjN17FHeCL",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "{}",
"posting_rewards": 11248,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "356272872779",
"reset_account": "null",
"reward_sbd_balance": "0.000 HBD",
"reward_steem_balance": "0.000 HIVE",
"reward_vesting_balance": "0.000000 VESTS",
"reward_vesting_steem": "0.000 HIVE",
"savings_balance": "0.000 HIVE",
"savings_sbd_balance": "0.000 HBD",
"savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_sbd_seconds": "0",
"savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
"sbd_balance": "17.470 HBD",
"sbd_last_interest_payment": "2016-08-24T13:16:57",
"sbd_seconds": "2946025236",
"sbd_seconds_last_update": "2016-08-26T13:30:27",
"tags_usage": [],
"to_withdraw": "161225703685",
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "170040.513642 VESTS",
"vesting_withdraw_rate": "1550.247150 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 9718,
"last_update_time": 1469970885
},
"voting_power": 9718,
"withdraw_routes": 0,
"withdrawn": "13952224350",
"witness_votes": [
"felekas1"
],
"witnesses_voted_for": 1
}
]
---
test_name: Hivemind condenser_api.get_accounts patterns test drifter1 #33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: condenser_api.get_accounts patterns test drifter1
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_accounts"
params: [["drifter1"]]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "drifter1"
directory: "condenser_api_patterns/get_accounts"
---
test_name: Hivemind condenser_api.get_accounts patterns test invalid account #33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: condenser_api.get_accounts patterns test invalid account