Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 2mln_blocks_test
  • abw_rshares_experiment
  • bridge_get_account_posts
  • bw_ci_validating_test
  • bw_list_comments_by_permlink_opt_patterns
  • dk-5e6-patterns
  • dk-database-api-tests-001
  • dk-diff-log
  • dk-fix-order-in-some-tests
  • dk-follow-item-overwrite-fix
  • dk-follow-refactor
  • dk-functional-example
  • dk-list-votes-pre24
  • dk-mock-follow-tests
  • dk-mock-follow-tests-2
  • dk-mock-vops-tests
  • dk-pytest-benchmark
  • follow_api_tests
  • get_accounts
  • get_blog_entries
  • get_ranked_posts
  • issue_37_trend_and_hot
  • jsalyers-more-blacklist-updates
  • klesniak-api-tests-pyresttests
  • km_hafah_MR15
  • km_issue_151_revert
  • kmochocki/add-slow-call
  • kmochocki/ci
  • kmochocki/hivemind-testing
  • kudmich/prepare_tavern_tests_to_working_with_postgrest
  • master
  • mi_correct_notif_cache_update
  • mi_mention_date_changed
  • mi_notifications_in_cache
  • mi_test_for_bridge_get_ranked_posts
  • msochacki_tests
  • mt-47
  • mt-find-list-votes
  • mt-further-pids-refactoring
  • mt-further-pids-refactoring-old
  • mt-get-pids-fix
  • mt-get-profile-new-patterns
  • mt-grayed
  • mt-lack-of-post-forces-empty-pattern
  • mt-list-comments-fix
  • mt-main-unit
  • mt-pids-performance-refactoring
  • mz-hivemind-benchmark-parser
  • pczempiel_community
  • pczempiel_date_changes
  • pczempiel_new_tests
  • pmaniora_account_notifications_tests
  • pmaniora_communities_sql
  • pmaniora_community_fixes
  • pmaniora_fullsync_slow_calls
  • pmaniora_new_tests
  • request-execution-time
  • revert-36610d67
  • tmp
59 results

Target

Select target project
  • hive/tests_api
1 result
Select Git revision
  • 2mln_blocks_test
  • abw_rshares_experiment
  • bridge_get_account_posts
  • bw_ci_validating_test
  • bw_list_comments_by_permlink_opt_patterns
  • dk-5e6-patterns
  • dk-database-api-tests-001
  • dk-diff-log
  • dk-fix-order-in-some-tests
  • dk-follow-item-overwrite-fix
  • dk-follow-refactor
  • dk-functional-example
  • dk-list-votes-pre24
  • dk-mock-follow-tests
  • dk-mock-follow-tests-2
  • dk-mock-vops-tests
  • dk-pytest-benchmark
  • follow_api_tests
  • get_accounts
  • get_blog_entries
  • get_ranked_posts
  • issue_37_trend_and_hot
  • jsalyers-more-blacklist-updates
  • klesniak-api-tests-pyresttests
  • km_hafah_MR15
  • km_issue_151_revert
  • kmochocki/add-slow-call
  • kmochocki/ci
  • kmochocki/hivemind-testing
  • kudmich/prepare_tavern_tests_to_working_with_postgrest
  • master
  • mi_correct_notif_cache_update
  • mi_mention_date_changed
  • mi_notifications_in_cache
  • mi_test_for_bridge_get_ranked_posts
  • msochacki_tests
  • mt-47
  • mt-find-list-votes
  • mt-further-pids-refactoring
  • mt-further-pids-refactoring-old
  • mt-get-pids-fix
  • mt-get-profile-new-patterns
  • mt-grayed
  • mt-lack-of-post-forces-empty-pattern
  • mt-list-comments-fix
  • mt-main-unit
  • mt-pids-performance-refactoring
  • mz-hivemind-benchmark-parser
  • pczempiel_community
  • pczempiel_date_changes
  • pczempiel_new_tests
  • pmaniora_account_notifications_tests
  • pmaniora_communities_sql
  • pmaniora_community_fixes
  • pmaniora_fullsync_slow_calls
  • pmaniora_new_tests
  • request-execution-time
  • revert-36610d67
  • tmp
59 results
Show changes
Showing
with 21102 additions and 4 deletions
{
"code": -31999,
"data": "Post gardenlady/re-steemychicken1-re-andrarchy-steemit-slogan-competition-20160625t015635752z was deleted 1 time(s)",
"message": "Invalid parameters"
}
---
test_name: Hivemind condenser_api.get_reblogged_by patterns test
marks:
- patterntest # bug in old HM
includes:
- !include ../../common.yaml
stages:
- name: get_reblogged_by
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_reblogged_by"
params: {"author":"gardenlady","permlink":"re-steemychicken1-re-andrarchy-steemit-slogan-competition-20160625t015635752z"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "deleted_reply"
directory: "condenser_api_negative/get_reblogged_by"
error_response: true
\ No newline at end of file
{
"code": -32602,
"data": "post not found",
"message": "Invalid parameters"
}
{
"code": -32602,
"data": "Post roadscape/banana-cherry does not exist",
"message": "Invalid parameters"
}
---
test_name: Hivemind condenser_api.get_reblogged_by patterns test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_reblogged_by
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_reblogged_by"
params: {"author":"roadscape","permlink":"banana-cherry"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "nonexisting_post"
directory: "condenser_api_negative/get_reblogged_by"
error_response: true
\ No newline at end of file
{
"code": -32602,
"data": "Account nonexisting does not exist",
"message": "Invalid parameters"
}
---
test_name: Hivemind condenser_api.get_replies_by_last_update no results patterns test
marks:
- patterntest # original did not validate author, just gave empty results
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_replies_by_last_update no results
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_replies_by_last_update"
params: ["nonexisting","",1]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "bad_author"
directory: "condenser_api_negative/get_replies_by_last_update"
error_response: true
\ No newline at end of file
{
"code": -32602,
"data": "Post admin/non_existing_permlink does not exist",
"message": "Invalid parameters"
}
\ No newline at end of file
......@@ -2,7 +2,8 @@
test_name: Hivemind condenser_api.get_replies_by_last_update no results patterns test
marks:
- patterntest
- patterntest # original did not validate post, just gave empty results
- negative
includes:
- !include ../../common.yaml
......@@ -24,5 +25,6 @@
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "no_results"
directory: "condenser_api_patterns/get_replies_by_last_update"
\ No newline at end of file
method: "bad_post"
directory: "condenser_api_negative/get_replies_by_last_update"
error_response: true
\ No newline at end of file
{
"code": -32602,
"data": "`start_author` cannot be blank",
"data": "invalid account (not specified)",
"message": "Invalid parameters"
}
---
test_name: Hivemind condenser_api.get_discussions_by_author_before_date patterns test
marks:
- patterntest # should return empty set - no posts before 2009 (to be investigated but works like original)
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_author_before_date_no_results
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_discussions_by_author_before_date"
params: {"author":"good-karma","start_permlink":"good-karma-witness-thread","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "good-karma"
directory: "condenser_api_patterns/get_discussions_by_author_before_date"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_discussions_by_author_before_date patterns test
marks:
- patterntest # should return empty set - no posts before 2009 (to be investigated but works like original)
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_author_before_date_no_results
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_discussions_by_author_before_date"
params: {"author":"roadscape","start_permlink":"","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "roadscape"
directory: "condenser_api_patterns/get_discussions_by_author_before_date"
\ No newline at end of file
[
{
"active_votes": [],
"author": "cryptos",
"author_reputation": 0,
"beneficiaries": [],
"body": "It is a new feature that has just been introduced, that is why you have not noticed it before... :)",
"body_length": 99,
"cashout_time": "2016-09-16T19:24:55",
"category": "steemit",
"children": 1,
"created": "2016-09-15T19:28:24",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"json_metadata": "{\"tags\":[\"steemit\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T19:28:24",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "nippel66",
"parent_permlink": "pay-me-100-in-steem-power-when-submit-a-story",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-nippel66-pay-me-100-in-steem-power-when-submit-a-story-20160915t192819697z",
"post_id": 960872,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Pay me 100% in Steem Power. When submit a story!",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/steemit/@nippel66/pay-me-100-in-steem-power-when-submit-a-story#@cryptos/re-nippel66-pay-me-100-in-steem-power-when-submit-a-story-20160915t192819697z"
},
{
"active_votes": [
{
"percent": "5555",
"reputation": 0,
"rshares": "1061228665",
"voter": "murh"
},
{
"percent": "10000",
"reputation": 0,
"rshares": "262426429473",
"voter": "liberosist"
}
],
"author": "cryptos",
"author_reputation": 0,
"beneficiaries": [],
"body": "Seems like I'm among the top authors, so thank you :)",
"body_length": 53,
"cashout_time": "2016-09-15T22:00:19",
"category": "curie",
"children": 0,
"created": "2016-09-15T13:01:21",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"json_metadata": "{\"tags\":[\"curie\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T13:01:21",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 263487658138,
"parent_author": "curie",
"parent_permlink": "special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016",
"pending_payout_value": "0.061 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-curie-special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016-20160915t130117817z",
"post_id": 957464,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Special Edition: Major Updates & Project Curie Month #1 Roundup (12 August - 11 September 2016)",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/curie/@curie/special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016#@cryptos/re-curie-special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016-20160915t130117817z"
},
{
"active_votes": [],
"author": "cryptos",
"author_reputation": 0,
"beneficiaries": [],
"body": "It is really interesting and works well, great toy for everyone into crypto :)",
"body_length": 78,
"cashout_time": "2016-09-16T12:02:23",
"category": "mining",
"children": 0,
"created": "2016-09-15T11:55:18",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"json_metadata": "{\"tags\":[\"mining\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T11:55:18",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "crowe",
"parent_permlink": "re-cryptos-the-baikal-mini-miner-asic-a-nice-home-crypto-miner-20160915t114224614z",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-crowe-re-cryptos-the-baikal-mini-miner-asic-a-nice-home-crypto-miner-20160915t115513670z",
"post_id": 957046,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "The Baikal Mini Miner ASIC, a Nice Home Crypto Miner",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/mining/@cryptos/the-baikal-mini-miner-asic-a-nice-home-crypto-miner#@cryptos/re-crowe-re-cryptos-the-baikal-mini-miner-asic-a-nice-home-crypto-miner-20160915t115513670z"
}
]
[
{
"active_votes": [],
"author": "cryptos",
"author_reputation": 9523766827937,
"beneficiaries": [],
"body": "It is a new feature that has just been introduced, that is why you have not noticed it before... :)",
"body_length": 99,
"cashout_time": "2016-09-22T19:28:24",
"category": "steemit",
"children": 1,
"created": "2016-09-15T19:28:24",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"json_metadata": "{\"tags\":[\"steemit\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T19:28:24",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "nippel66",
"parent_permlink": "pay-me-100-in-steem-power-when-submit-a-story",
"pending_payout_value": "0.000 HBD",
"percent_hbd": 10000,
"permlink": "re-nippel66-pay-me-100-in-steem-power-when-submit-a-story-20160915t192819697z",
"post_id": 1257733,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Pay me 100% in Steem Power. When submit a story!",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/steemit/@nippel66/pay-me-100-in-steem-power-when-submit-a-story#@cryptos/re-nippel66-pay-me-100-in-steem-power-when-submit-a-story-20160915t192819697z"
},
{
"active_votes": [
{
"percent": "5555",
"reputation": 2902053059801,
"rshares": 1061228665,
"voter": "murh"
},
{
"percent": "10000",
"reputation": 20001506960251,
"rshares": 262426429473,
"voter": "liberosist"
}
],
"author": "cryptos",
"author_reputation": 9523766827937,
"beneficiaries": [],
"body": "Seems like I'm among the top authors, so thank you :)",
"body_length": 53,
"cashout_time": "2016-09-22T13:01:21",
"category": "curie",
"children": 0,
"created": "2016-09-15T13:01:21",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"json_metadata": "{\"tags\":[\"curie\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T13:01:21",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 263487658138,
"parent_author": "curie",
"parent_permlink": "special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016",
"pending_payout_value": "0.063 HBD",
"percent_hbd": 10000,
"permlink": "re-curie-special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016-20160915t130117817z",
"post_id": 1253517,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Special Edition: Major Updates & Project Curie Month #1 Roundup (12 August - 11 September 2016)",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/curie/@curie/special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016#@cryptos/re-curie-special-edition-major-updates-and-project-curie-month-1-roundup-12-august-11-september-2016-20160915t130117817z"
},
{
"active_votes": [],
"author": "cryptos",
"author_reputation": 9523766827937,
"beneficiaries": [],
"body": "It is really interesting and works well, great toy for everyone into crypto :)",
"body_length": 78,
"cashout_time": "2016-09-22T11:55:18",
"category": "mining",
"children": 0,
"created": "2016-09-15T11:55:18",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"json_metadata": "{\"tags\":[\"mining\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T11:55:18",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "crowe",
"parent_permlink": "re-cryptos-the-baikal-mini-miner-asic-a-nice-home-crypto-miner-20160915t114224614z",
"pending_payout_value": "0.000 HBD",
"percent_hbd": 10000,
"permlink": "re-crowe-re-cryptos-the-baikal-mini-miner-asic-a-nice-home-crypto-miner-20160915t115513670z",
"post_id": 1253006,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "The Baikal Mini Miner ASIC, a Nice Home Crypto Miner",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/mining/@cryptos/the-baikal-mini-miner-asic-a-nice-home-crypto-miner#@cryptos/re-crowe-re-cryptos-the-baikal-mini-miner-asic-a-nice-home-crypto-miner-20160915t115513670z"
}
]