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

Target

Select target project
  • hive/tests_api
1 result
Show changes
Commits on Source (3)
Showing
with 35215 additions and 18 deletions
{
"code": -32602,
"data": "Account joeyarnoldvn does not exist",
"message": "Invalid parameters"
}
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
test_name: Hivemind bridge_api.get_ranked_posts trending observer patterns test test_name: Hivemind bridge_api.get_ranked_posts trending observer patterns test
marks: marks:
- patterntest - patterntest # original did not validate observer
- negative
includes: includes:
- !include ../../../common.yaml - !include ../../../common.yaml
...@@ -25,4 +26,5 @@ ...@@ -25,4 +26,5 @@
function: validate_response:compare_response_with_pattern function: validate_response:compare_response_with_pattern
extra_kwargs: extra_kwargs:
method: "my_observer" method: "my_observer"
directory: "bridge_api_patterns/get_ranked_posts/trending" directory: "bridge_api_negative/get_ranked_posts/trending"
error_response: true
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
test_name: Hivemind bridge_api.get_account_posts sort feed patterns test test_name: Hivemind bridge_api.get_account_posts sort feed patterns test
marks: marks:
- patterntest # since original only gives posts from last month (counted from now()) there can be no nonempty results - patterntest # original only gives posts from last month (counted from now()) so there can be no nonempty results
- failing
- xfail # marked as failing for now, since we need to change it so it counts time from head block
includes: includes:
- !include ../../../common.yaml - !include ../../../common.yaml
......
...@@ -54468,7 +54468,7 @@ ...@@ -54468,7 +54468,7 @@
"http://www.angeelseries.com/uploads/5/3/0/7/5307103/big-five_orig.jpg", "http://www.angeelseries.com/uploads/5/3/0/7/5307103/big-five_orig.jpg",
"http://publishingperspectives.com/wp-content/uploads/2016/05/Kempton-Mooney-2-710x533.jpg", "http://publishingperspectives.com/wp-content/uploads/2016/05/Kempton-Mooney-2-710x533.jpg",
"http://www.thebookseller.com/sites/default/files/Publisher%20sales%202015.jpg", "http://www.thebookseller.com/sites/default/files/Publisher%20sales%202015.jpg",
"http://publishingperspectives.com/wp-content/uploads/2016/05/Kempton-Mooney-1-710x531.jpg", "http://publishingperspectives.com/wp-content/uploads/2016/05/Kempton-Mooney-1-710x531.jpg\n",
"http://authorearnings.com/wp-content/uploads/2015/09/2015-aug-trend-gross-sales-1024x856.png", "http://authorearnings.com/wp-content/uploads/2015/09/2015-aug-trend-gross-sales-1024x856.png",
"http://authorearnings.com/wp-content/uploads/2015/09/2015-aug-trend-author-earnings-1024x935.png", "http://authorearnings.com/wp-content/uploads/2015/09/2015-aug-trend-author-earnings-1024x935.png",
"http://authorearnings.com/wp-content/uploads/2015/09/2015-aug-titles-1024x637.png", "http://authorearnings.com/wp-content/uploads/2015/09/2015-aug-titles-1024x637.png",
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
marks: marks:
- patterntest - patterntest
- failing - failing
- xfail # blacklists - see max_limit.tavern.yaml in ../created; newline in image link - xfail # blacklists - see max_limit.tavern.yaml in ../created
includes: includes:
- !include ../../../common.yaml - !include ../../../common.yaml
......
---
test_name: Hivemind condenser_api.get_account_reputations patterns test
marks:
- patterntest # original HM as well as fat node didn't like skipping parameters (patterns made with all params given)
includes:
- !include ../../common.yaml
stages:
- name: get_account_reputations
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_account_reputations"
params: {}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "defaults"
directory: "condenser_api_patterns/get_account_reputations"
\ No newline at end of file
...@@ -8903,6 +8903,12 @@ ...@@ -8903,6 +8903,12 @@
"reputation": 1681235382225, "reputation": 1681235382225,
"rshares": 523321581, "rshares": 523321581,
"voter": "niasweetz" "voter": "niasweetz"
},
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 2645180254,
"voter": "noganoo"
} }
], ],
"author": "nkdk", "author": "nkdk",
......
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
marks: marks:
- patterntest # oldest posts in blog - call with self-set limit - patterntest # oldest posts in blog - call with self-set limit
- failing # compared to original extra vote is due to removed vote muting
- xfail # extra vote (possibly result of muting not working like before)
includes: includes:
- !include ../../common.yaml - !include ../../common.yaml
......
...@@ -7517,6 +7517,12 @@ ...@@ -7517,6 +7517,12 @@
"rshares": 49578772788, "rshares": 49578772788,
"voter": "ak2020" "voter": "ak2020"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 76584409982,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 71931696380, "reputation": 71931696380,
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
marks: marks:
- patterntest # replies were also put in results in original version (but TODO suggested it was to be changed, now only top posts can be hot) - patterntest # replies were also put in results in original version (but TODO suggested it was to be changed, now only top posts can be hot)
- failing # compared to original extra vote is due to removed vote muting
- xfail # extra vote due to muting not working
includes: includes:
- !include ../../common.yaml - !include ../../common.yaml
......
...@@ -5985,6 +5985,12 @@ ...@@ -5985,6 +5985,12 @@
"rshares": 10327600289, "rshares": 10327600289,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 69909261962,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 200733663789408, "reputation": 200733663789408,
...@@ -7767,6 +7773,12 @@ ...@@ -7767,6 +7773,12 @@
"rshares": 9361058328, "rshares": 9361058328,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 75001199923,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 488865370830, "reputation": 488865370830,
...@@ -12985,6 +12997,12 @@ ...@@ -12985,6 +12997,12 @@
"rshares": 10554741746, "rshares": 10554741746,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 73500629943,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 71931696380, "reputation": 71931696380,
...@@ -20351,6 +20369,12 @@ ...@@ -20351,6 +20369,12 @@
"rshares": 11897881050, "rshares": 11897881050,
"voter": "andu" "voter": "andu"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 68001225456,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 79561484422, "reputation": 79561484422,
...@@ -36035,6 +36059,12 @@ ...@@ -36035,6 +36059,12 @@
"rshares": 13246631412, "rshares": 13246631412,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 75867207382,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 71931696380, "reputation": 71931696380,
...@@ -72579,6 +72609,12 @@ ...@@ -72579,6 +72609,12 @@
"rshares": 77690187245, "rshares": 77690187245,
"voter": "thecryptofiend" "voter": "thecryptofiend"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 72992621388,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 2584344852600, "reputation": 2584344852600,
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
test_name: Hivemind condenser_api.get_discussions_by_promoted patterns test test_name: Hivemind condenser_api.get_discussions_by_promoted patterns test
marks: marks:
- patterntest - patterntest # compared to original extra vote is due to removed vote muting
- failing
- xfail # extra votes due to muting not working
includes: includes:
- !include ../../common.yaml - !include ../../common.yaml
......
...@@ -1017,6 +1017,12 @@ ...@@ -1017,6 +1017,12 @@
"rshares": 10327600289, "rshares": 10327600289,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 69909261962,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 200733663789408, "reputation": 200733663789408,
...@@ -6169,6 +6175,12 @@ ...@@ -6169,6 +6175,12 @@
"rshares": 10554741746, "rshares": 10554741746,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 73500629943,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 71931696380, "reputation": 71931696380,
...@@ -23451,6 +23463,12 @@ ...@@ -23451,6 +23463,12 @@
"rshares": 13246631412, "rshares": 13246631412,
"voter": "johnerfx" "voter": "johnerfx"
}, },
{
"percent": "10000",
"reputation": 12584108052916,
"rshares": 75867207382,
"voter": "noganoo"
},
{ {
"percent": "10000", "percent": "10000",
"reputation": 71931696380, "reputation": 71931696380,
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
# note post /life/@thecryptofiend/things-i-wish-i-d-known-when-i-was-18 # note post /life/@thecryptofiend/things-i-wish-i-d-known-when-i-was-18
# it is in the results despite not having 'steemit' in 'tags' # it is in the results despite not having 'steemit' in 'tags'
# it is because the post was edited and was changing tags - we don't clear old tags during edit (should be fixed at some point) # it is because the post was edited and was changing tags - we don't clear old tags during edit (should be fixed at some point)
- failing # compared to original extra votes are due to removed vote muting
- xfail # extra votes due to muting not working
includes: includes:
- !include ../../common.yaml - !include ../../common.yaml
......