Skip to content
Snippets Groups Projects
Commit 4f033275 authored by Paulina Czempiel's avatar Paulina Czempiel
Browse files

condenser_api get_accounts tests moved to folder

parent b586718d
No related branches found
No related tags found
1 merge request!91condenser_api get_accounts tests moved to folder
Showing
with 5307 additions and 0 deletions
[
{
"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
}
]
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_accounts patterns test one 33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_accounts
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"
\ No newline at end of file
[
{
"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
}
]
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_accounts patterns test double 33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_accounts
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"
\ No newline at end of file
[
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH",
1
]
],
"weight_threshold": 1
},
"balance": "4778859.891 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-03-24T17:00:21",
"curation_rewards": 0,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1458838821
},
"guest_bloggers": [],
"id": 28,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-15T13:56:18",
"last_owner_update": "2016-07-15T13:56:18",
"last_post": "2016-03-30T18:30:18",
"last_root_post": "2016-03-30T18:30:18",
"last_vote_time": "1970-01-01T00:00:00",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH",
"mined": true,
"name": "steemit",
"next_vesting_withdrawal": "2016-09-19T00:37:21",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM7kyb6WK6Sg9Eu4uu7WGqjYdqJzdBeKEWVDaDEKsgvhvESJZ1vM",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 0,
"post_count": 1,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 3548,
"proxied_vsf_votes": [
"23077504682",
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "12944616889",
"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": "70337.438 HBD",
"sbd_last_interest_payment": "2016-09-12T19:16:48",
"sbd_seconds": "8923940509188",
"sbd_seconds_last_update": "2016-09-14T11:25:21",
"tags_usage": [],
"to_withdraw": "257910734535923078",
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "225671901920.188893 VESTS",
"vesting_withdraw_rate": "2479910908.999260 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 10000,
"last_update_time": 1458838821
},
"voting_power": 10000,
"withdraw_routes": 0,
"withdrawn": "32238841816990380",
"witness_votes": [],
"witnesses_voted_for": 0
}
]
\ No newline at end of file
---
# get_accounts should be based on fat node - posting_rewards and reputations are 0 on AH node
test_name: Hivemind condenser_api.get_accounts with single account patterns test
marks:
- patterntest
#- failing
#- xfail # results are so different that it looks like wrong routine is called (possible link to raw_json that is now empty)
includes:
- !include ../../common.yaml
stages:
- name: get_accounts
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: [["steemit"]]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "first"
directory: "condenser_api_patterns/get_accounts"
\ No newline at end of file
This diff is collapsed.
---
test_name: Hivemind condenser_api.get_accounts patterns test much 33091
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_accounts
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","miners", "temp", "initminer","nxt1", "dark", "nxt2","nxt", "dantheman5", "any","nxt3", "nxt4", "cloop2","dantheman1", "dantheman6", "thisisnice","root", "thisisnice0", "dantheman2","nxt5","dantheman7","thisisnice2","dantheman8","nxt6","dantheman3","cloop3","nxt7","thisisnice3","nxt8","dantheman4","thisisnice4","steemit10","thisisnice5","dantheman9","nxt9","steemit11","thisisnice6"]]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "much"
directory: "condenser_api_patterns/get_accounts"
\ No newline at end of file
[
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH",
1
]
],
"weight_threshold": 1
},
"balance": "4778859.891 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-03-24T17:00:21",
"curation_rewards": 0,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1458838821
},
"guest_bloggers": [],
"id": 28,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-15T13:56:18",
"last_owner_update": "2016-07-15T13:56:18",
"last_post": "2016-03-30T18:30:18",
"last_root_post": "2016-03-30T18:30:18",
"last_vote_time": "1970-01-01T00:00:00",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH",
"mined": true,
"name": "steemit",
"next_vesting_withdrawal": "2016-09-19T00:37:21",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM7kyb6WK6Sg9Eu4uu7WGqjYdqJzdBeKEWVDaDEKsgvhvESJZ1vM",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 0,
"post_count": 1,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 3548,
"proxied_vsf_votes": [
"23077504682",
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "12944616889",
"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": "70337.438 HBD",
"sbd_last_interest_payment": "2016-09-12T19:16:48",
"sbd_seconds": "8923940509188",
"sbd_seconds_last_update": "2016-09-14T11:25:21",
"tags_usage": [],
"to_withdraw": "257910734535923078",
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "225671901920.188893 VESTS",
"vesting_withdraw_rate": "2479910908.999260 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 10000,
"last_update_time": 1458838821
},
"voting_power": 10000,
"withdraw_routes": 0,
"withdrawn": "32238841816990380",
"witness_votes": [],
"witnesses_voted_for": 0
},
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM5hB5S4MFqdEnBURe7L62HzL6FWnvy9Pb1R1UcPwCuGnUsfKzFc",
1
]
],
"weight_threshold": 1
},
"balance": "0.000 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-07-12T14:47:00",
"curation_rewards": 20394,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1468334820
},
"guest_bloggers": [],
"id": 17540,
"json_metadata": "",
"last_account_recovery": "1970-01-01T00:00:00",
"last_account_update": "2016-07-15T05:11:21",
"last_owner_update": "2016-07-15T05:11:21",
"last_post": "2016-09-15T15:07:18",
"last_root_post": "2016-09-14T16:30:24",
"last_vote_time": "2016-09-15T16:00:45",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM5zmYzafDpVkx7FCrxDAMLVqjyKX2ykDNUmtwDLvLtExXWvkovp",
"mined": false,
"name": "biophil",
"next_vesting_withdrawal": "1969-12-31T23:59:59",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM5mkaXCu5DT6XsaST1XFyyF842K54GxUAMUVm9wcm7HerBesz3i",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 12171,
"post_count": 752,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM52yaFZPJQMx5wWRZCYgHd69hEE4rkqx7qpq45NyY4Za6w3Jong",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 3729894,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": "10077167197115",
"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": "902.828 HBD",
"sbd_last_interest_payment": "2016-09-13T12:08:48",
"sbd_seconds": "131701413987",
"sbd_seconds_last_update": "2016-09-15T19:28:54",
"tags_usage": [],
"to_withdraw": 0,
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "8128612.587095 VESTS",
"vesting_withdraw_rate": "0.000000 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 9475,
"last_update_time": 1473955245
},
"voting_power": 9475,
"withdraw_routes": 0,
"withdrawn": 0,
"witness_votes": [
"abit",
"anyx",
"blocktrades",
"boatymcboatface",
"delegate.lafona",
"jesta",
"pharesim",
"roadscape",
"smooth.witness",
"steemed",
"steve-walschot"
],
"witnesses_voted_for": 11
},
{
"active": {
"account_auths": [],
"key_auths": [
[
"STM7iT2pWdfDqjX12hhQbjKveALEuWPss1wvrKVWDgm6Ud2ZTjoE4",
1
]
],
"weight_threshold": 1
},
"balance": "0.000 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-04-28T14:35:57",
"curation_rewards": 0,
"delegated_vesting_shares": "0.000000 VESTS",
"downvote_manabar": {
"current_mana": 0,
"last_update_time": 1461854157
},
"guest_bloggers": [],
"id": 6566,
"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": "1970-01-01T00:00:00",
"last_root_post": "1970-01-01T00:00:00",
"last_vote_time": "1970-01-01T00:00:00",
"lifetime_vote_count": 0,
"market_history": [],
"memo_key": "STM7dz2kPEpL5B3AajPFnb3M3uJwiQ4sdzz6hTgwD8RRm7keT5Bwm",
"mined": false,
"name": "test",
"next_vesting_withdrawal": "1969-12-31T23:59:59",
"other_history": [],
"owner": {
"account_auths": [],
"key_auths": [
[
"STM6L7mdcoi371ddt2z5hDfRCHXjcLRBz3H8GYKWBgo5T8kiaqWKy",
1
]
],
"weight_threshold": 1
},
"pending_claimed_accounts": 0,
"post_bandwidth": 0,
"post_count": 0,
"post_history": [],
"posting": {
"account_auths": [],
"key_auths": [
[
"STM5PnVARAgGPTf5PqRnumGUyMJCfV9ti93z72Kct2dAucfLgaMxC",
1
]
],
"weight_threshold": 1
},
"posting_json_metadata": "",
"posting_rewards": 0,
"proxied_vsf_votes": [
0,
0,
0,
0
],
"proxy": "",
"received_vesting_shares": "0.000000 VESTS",
"recovery_account": "steem",
"reputation": 0,
"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": "0.001 HBD",
"sbd_last_interest_payment": "1970-01-01T00:00:00",
"sbd_seconds": "0",
"sbd_seconds_last_update": "2016-08-11T10:59:45",
"tags_usage": [],
"to_withdraw": 0,
"transfer_history": [],
"vesting_balance": "0.000 HIVE",
"vesting_shares": "146273.695970 VESTS",
"vesting_withdraw_rate": "0.000000 VESTS",
"vote_history": [],
"voting_manabar": {
"current_mana": 10000,
"last_update_time": 1461854157
},
"voting_power": 10000,
"withdraw_routes": 0,
"withdrawn": 0,
"witness_votes": [],
"witnesses_voted_for": 0
}
]
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_accounts with multiple accounts patterns test
marks:
- patterntest
#- failing
#- xfail # results are so different that it looks like wrong routine is called (possible link to raw_json that is now empty)
includes:
- !include ../../common.yaml
stages:
- name: get_accounts with multiple accounts
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: [["steemit","biophil","test"]]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "multiple_accounts"
directory: "condenser_api_patterns/get_accounts"
\ No newline at end of file
[]
\ No newline at end of file
This diff is collapsed.
[]
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
[]
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment