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 95699 additions and 4 deletions
Check `readme.txt` first
post_id author permlink
------- --------------- ------------------------------------------------------------------------------------------------
The result is empty, because the account `jamesc` hasn't any reblog. The clause `HAVING` excludes whole result,
because doesn't exist any feed for any followings and for ["gavvet","telescopic-tour-featuring-luision-as-author"].
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
# there are 4 reblogs done by 'jamesc` account
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
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_feed"
params: {"tag":"bartcant","start_author":"churdtzu","start_permlink":"impossible-a-conversation-with-a-statist-about-starting-a-business","limit":20}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "bartcant"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
Check `readme.txt` first
post_id author permlink
------- ------------- ----------------------------------------------------------------------------------------------------
834376 gavvet telescopic-tour-featuring-luision-as-author
823675 gavvet chronicles-of-alan-army-day-s-final
823386 gavvet selfie-with-the-partial-solar-eclipse-featuring-tim-beck-as-author
815301 berniesanders please-stop-sending-sbd-asking-me-to-look-at-your-links
814031 gavvet re-evaluating-the-star-of-bethlehem-part-1-featuring-new-author-vuyusile
811048 gavvet the-state-of-steemit-com-growth
802704 ratel what-is-smart-lens
799582 gavvet maybe-my-daughter-just-doesn-t-like-me-featuring-hanshotfirst-as-author
788913 gavvet anger-a-self-administered-poison
788251 gavvet chronicles-of-alan-another-reason-i-do-not-drink-featuring-awgbibb-as-author
787754 gavvet journey-to-the-tolbachik-the-story-with-original-pictures-part-1-puteshestvie-na-tolbachik-featuring
779009 ratel kak-ya-stal-zhertvoi-moshennikov-dvazhdy-za-den
765614 btcturbo pazl-wings-seriya-3-kak-rabotayut-zayavki-na-sozdanie-dao
765193 gavvet fire-walking-i-ve-done-it
764951 gavvet knights-of-the-sea-greates-battleships-of-ww-ii-rycari-morya-linkory-vtoroi-mirovoi-featuring-burmik
757009 gavvet lyrics-from-alan-stalker-featuring-awgbibb-as-author
756589 gavvet the-life-of-an-ambivert-featuring-sauravrungta-as-author
744234 gavvet steel-birds-the-main-planes-fighters-of-ww-ii-part-ii-eng-rus-featuring-burmik123-as-author
743882 gavvet i-think-you-re-crazy-for-making-me-write-an-essay-telling-you-who-i-think-i-am-featuring-author-john
733930 gavvet i-always-had-a-fantasy-of-being-a-chef-jeg-har-alltid-hatt-en-fantasi-om-a-vaere-en-kokk-featuring-n
Following records don't exist in pattern.
[`gavvet`, `i-think-you-re-crazy-for-making-me-write-an-essay-telling-you-who-i-think-i-am-featuring-author-john`]
[`gavvet`, `i-always-had-a-fantasy-of-being-a-chef-jeg-har-alltid-hatt-en-fantasi-om-a-vaere-en-kokk-featuring-n`]
It's caused by lack of reblog for the account `jamesc`, therefore instead of above records, there are following records in pattern
[`charleshosk`, 'my-thoughts-on-ross`]
[`dantheman`, `why-do-we-fight-to-change-the-world`]
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
# there are 2 reblogs done by 'jamesc` account
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
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_feed"
params: {"tag":"funthing","start_author":"gavvet","start_permlink":"telescopic-tour-featuring-luision-as-author","limit":20}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "funthing"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
Check `readme.txt` first
post_id author permlink
------- -------------- ----------------------------------------------------------------------------------------------------
816377 the-alien we-have-competition-so-what
816010 hilarski social-media-tip-4-quality-plus-consistency-for-success
815582 timsaid the-steemit-crypto-challenge-4
815451 blueorgy magic-eye-challenge-002-riddle-me-this
815359 dana-edwards z-cash-is-it-possible-to-be-too-anonymous-new-truly-anonymous-cryptocurrency-z-cash-is-about-to-have
815222 dwinblood gamedev-007-so-the-game-was-greenlit-what-have-we-been-up-to-since-then-wormhole-ventures
814971 thecryptofiend things-i-wish-i-d-known-when-i-was-18
814792 phenom the-internet-of-things-our-better-future
814307 sean-king reading-the-bible-is-like-picking-out-diamonds-from-dunghills-part-2
814300 stephthegeek i-was-picking-up-something-from-my-storage-room
814210 dwinblood have-any-of-you-recently-used-steemshovel-com-it-works-much-better-i-found-some-things-i-missed-befo
814200 tuck-fheman steemocracy-a-steem-comic-or-volume-12-or-stellaaaaa-and-the-viking
814142 reneenouveau protect-yourself-because-no-one-else-is-going-to-blockchains-versus-palimpsests
814096 sean-king reading-the-bible-is-like-picking-out-diamonds-from-dunghills
813961 mikemacintire you-can-see-my-reflection-in-this-iguana-s-eye
813729 blueorgy the-upvote-multiplier-more-curation-power-at-the-cost-of-voting-power-ui-design
813500 nexusdev dapp-a-day-18-erc20-token-vault
813330 reneenouveau wilder-ranch-coastal-archaeology-and-seals
813079 blakemiles84 blake-s-mix-1015-porter-robinson-and-mat-zp-easy
812987 timelapse colors-of-agra
Following records don't exist in pattern.
[`blakemiles84`, `blake-s-mix-1015-porter-robinson-and-mat-zp-easy`]
[`timelapse`, `colors-of-agra`]
It's caused by lack of correct reblogs for the account `test-safari`, therefore instead of above records, there are following records in pattern
[`charlieshrem`, 'a-geek-in-prison-a-life-series-by-charlie-shrem-part-3-i-m-actually-in-prison`]
[`rossulbricht`, `lyn-ulbricht-mother-of-silk-road-political-prisoner-ross-ulbricht-is-now-on-steemit`]
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
# there are 2 reblogs done by 'test-safari` account
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
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_feed"
params: {"tag":"roadscape","start_author":"the-alien","start_permlink":"we-have-competition-so-what","limit":20}
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_feed"
\ No newline at end of file
Check `readme.txt` first
post_id author permlink
------- --------------- ------------------------------------------------------------------------------------------------
The result is empty, because the account `jamesc` hasn't any reblog. The result for `val-a` account consist of 5 records and every record is a reblog.
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
# there are 5 reblogs done by 'jamesc` account
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
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_feed"
params: {"tag":"val-a","start_author":"","start_permlink":"","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "val-a"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
......@@ -11,11 +11,11 @@ params:
optional, when provided has to point to valid account, paging mechanism (cuts out this and newer follows)
"limit:"{number}"
"follow_type":"{follow_type}",
optional, 1..1000, default = 1000
optional, 'blog'/'ignore' (should be extended with 'blacklists' etc.), default = 'blog'
"follow_type":"{follow_type}"
"limit:"{number}"
optional, 'blog'/'ignore' (should be extended with 'blacklists' etc.), default = 'blog'
optional, 1..1000, default = 1000
}
\ No newline at end of file
[
{
"follower": "jessicca",
"following": "letritbt",
"what": [
"blog"
]
},
{
"follower": "duchuy",
"following": "letritbt",
"what": [
"blog"
]
}
]
[
{
"follower": "jessicca",
"following": "letritbt",
"what": [
"blog"
]
},
{
"follower": "duchuy",
"following": "letritbt",
"what": [
"blog"
]
}
]
---
test_name: Hivemind condenser_api.get_followers patterns test
marks:
- patterntest
includes:
- !include ../../../common.yaml
stages:
- name: get_followers
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_followers"
params: {"account":"letritbt","start":"","limit":3}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "complete_result_set"
directory: "condenser_api_patterns/get_followers/blog"
[
{
"follower": "yuji225",
"following": "crumaner",
"what": [
"ignore"
]
},
{
"follower": "ash",
"following": "crumaner",
"what": [
"ignore"
]
}
]
[
{
"follower": "ash",
"following": "crumaner",
"what": [
"ignore"
]
}
]
---
test_name: Hivemind condenser_api.get_followers patterns test
marks:
- patterntest # see paginated.tavern.yaml
includes:
- !include ../../../common.yaml
stages:
- name: get_followers
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_followers"
params: {"account":"crumaner","start":"yuji225","follow_type":"ignore","limit":2}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "complete_result_set"
directory: "condenser_api_patterns/get_followers/ignore"
[
{
"follower": "jack-f",
"following": "sirwinchester",
"what": [
"blog"
]
}
]