Skip to content
Snippets Groups Projects
Commit a19e33cf authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: patterns changed as old ones seemed to come from fully synced node -...

[ABW]: patterns changed as old ones seemed to come from fully synced node - new ones are from 5mln blocks
some tests changed to give nonempty results
fixed rebranding and accepted slight differences in pending payouts (expected)
one pattern broken manually - needs to be investigated because it did not make the test to fail!
indentation in patterns changed to 2 spaces
added comments on why tests are failing
parent 3cca1371
No related branches found
No related tags found
1 merge request!23bridge_api patterns corrected
Showing
with 27310 additions and 51633 deletions
[] [
\ No newline at end of file {
"date": "2016-09-15T17:51:15",
"id": 774644,
"msg": "@steempowerwhale mentioned you",
"score": 20,
"type": "mention",
"url": "@steempowerwhale/for-steemit-authors-how-likely-do-posts-receive-a-reward-on-steemit-look-at-the-stats"
},
{
"date": "2016-09-14T21:33:36",
"id": 768637,
"msg": "@twitterbot mentioned you",
"score": 20,
"type": "mention",
"url": "@twitterbot/re-app-store-accepts-steemit-20160914t213336"
},
{
"date": "2016-09-14T07:27:48",
"id": 764393,
"msg": "@felixxx mentioned you",
"score": 20,
"type": "mention",
"url": "@felixxx/re-miserableoracle-re-felixxx-re-miserableoracle-re-l0k1-the-power-down-delay-ned-and-dan-you-got-us-hooked-we-can-t-jump-out-what-s-happening-20160914t072747788z"
},
{
"date": "2016-09-14T06:57:00",
"id": 764287,
"msg": "@svamiva mentioned you",
"score": 20,
"type": "mention",
"url": "@svamiva/re-smolalit-re-antizvuk-re-svamiva-re-smolalit-re-svamiva-nemnogo-soli-na-ranu-20160914t065520261z"
},
{
"date": "2016-09-14T05:53:51",
"id": 764091,
"msg": "@karenb54 mentioned you",
"score": 20,
"type": "mention",
"url": "@karenb54/mobile-covers-for-all-ranks"
},
{
"date": "2016-09-13T21:43:03",
"id": 761577,
"msg": "@biophil mentioned you",
"score": 20,
"type": "mention",
"url": "@biophil/it-would-be-neat-to-know-why-steemit-starts-pushing-the-market-around-when-it-does"
},
{
"date": "2016-09-13T14:04:21",
"id": 758509,
"msg": "@steemitguide mentioned you",
"score": 16,
"type": "mention",
"url": "@steemitguide/steemit-s-top-10-forbes-list-edition-1-13th-september-2016"
},
{
"date": "2016-09-13T12:23:27",
"id": 757914,
"msg": "@twitterbot mentioned you",
"score": 18,
"type": "mention",
"url": "@twitterbot/re-appstore-whitelists-steem-now-waiting-for-bithshares-people-20160913t122326"
},
{
"date": "2016-09-13T09:58:18",
"id": 757348,
"msg": "@poseidon mentioned you",
"score": 16,
"type": "mention",
"url": "@poseidon/re-venuspcs-why-hardfork-14-will-reduce-daily-votes-from-40-to-5-my-opinion-which-i-haven-t-seen-anyone-else-state-20160913t095819591z"
},
{
"date": "2016-09-13T01:58:21",
"id": 755117,
"msg": "@leesunmoo mentioned you",
"score": 20,
"type": "mention",
"url": "@leesunmoo/leesunmoo-3"
},
{
"date": "2016-09-13T00:20:09",
"id": 754744,
"msg": "@buckland mentioned you",
"score": 20,
"type": "mention",
"url": "@buckland/re-abol-r-i-p-all-innocent-victims-on-septembre-11-20160913t002010694z"
},
{
"date": "2016-09-12T23:29:06",
"id": 754456,
"msg": "@buckland mentioned you",
"score": 20,
"type": "mention",
"url": "@buckland/re-abol-re-buckland-this-was-the-so-called-nano-thermite-that-was-found-everywhere-people-need-the-truth-but-can-they-swallow-it-20160912t232044338z"
},
{
"date": "2016-09-12T08:49:06",
"id": 749213,
"msg": "@peterz mentioned you",
"score": 20,
"type": "mention",
"url": "@peterz/re-aleco-zakon-cipfa-rabotaet-li-on-v-steemit-20160912t084906549z"
},
{
"date": "2016-09-11T23:36:00",
"id": 746929,
"msg": "@marco-delsalto mentioned you",
"score": 20,
"type": "mention",
"url": "@marco-delsalto/its-1994-again-on-the-internet-again-love-it"
},
{
"date": "2016-09-11T18:04:48",
"id": 743544,
"msg": "@richman mentioned you",
"score": 18,
"type": "mention",
"url": "@richman/one-man-s-war-the-incredible-story-of-lieutenant-hiroo-onoda-featuring-andrewawerdna-as-author"
},
{
"date": "2016-09-12T01:29:39",
"id": 743086,
"msg": "@fat-like-buddha mentioned you",
"score": 20,
"type": "mention",
"url": "@fat-like-buddha/a-letter-to-my-sons-preparing-for-lifes-journey"
},
{
"date": "2016-09-11T15:44:39",
"id": 742615,
"msg": "@hisnameisolllie mentioned you",
"score": 16,
"type": "mention",
"url": "@hisnameisolllie/steemit-statistics-week-7"
},
{
"date": "2016-09-09T10:47:09",
"id": 722895,
"msg": "@spartanza mentioned you",
"score": 18,
"type": "mention",
"url": "@spartanza/9-11-suspects-series-by-corbettreport-part-1"
},
{
"date": "2016-09-08T21:09:06",
"id": 719048,
"msg": "@williamdevine mentioned you",
"score": 20,
"type": "mention",
"url": "@williamdevine/re-rawni-say-hello-to-the-newbie-20160908t210910852z"
},
{
"date": "2016-09-08T09:13:30",
"id": 714599,
"msg": "@svamiva mentioned you",
"score": 20,
"type": "mention",
"url": "@svamiva/re-james-show-market-based-curation-pools-to-increasing-curation-demand-for-steem-power-20160908t091328200z"
}
]
\ No newline at end of file
This diff is collapsed.
{ {
"blogs": 0.0, "blogs": 1866809.934,
"items": [], "items": [
"total": 0.0 [
"@charlieshrem",
"@charlieshrem",
62150.551,
142,
null
]
],
"total": 1866809.934
} }
\ No newline at end of file
This diff is collapsed.
{ {
"active": "1970-01-01T00:00:00", "active": "1970-01-01T00:00:00",
"blacklists": [], "blacklists": [],
"created": "2016-03-24T17:00:21", "created": "2016-03-24T17:00:21",
"id": 29, "id": 29,
"metadata": { "metadata": {
"profile": { "profile": {
"about": null, "about": null,
"cover_image": "", "cover_image": "",
"location": null, "location": null,
"name": null, "name": null,
"profile_image": "", "profile_image": "",
"website": null "website": null
}
},
"name": "steemit",
"post_count": 0,
"reputation": 25.0,
"stats": {
"followers": 175,
"following": 0,
"rank": 0,
"sp": 0
} }
},
"name": "steemit",
"post_count": 0,
"reputation": 25.0,
"stats": {
"followers": 175,
"following": 0,
"rank": 0,
"sp": 0
}
} }
This diff is collapsed.
[ [
[ [
"photography", "photography",
"#photography" "#photography"
], ],
[ [
"travel", "travel",
"#travel" "#travel"
], ],
[ [
"gaming", "gaming",
"#gaming" "#gaming"
], ],
[ [
"crypto", "crypto",
"#crypto" "#crypto"
], ],
[ [
"newsteem", "newsteem",
"#newsteem" "#newsteem"
], ],
[ [
"music", "music",
"#music" "#music"
], ],
[ [
"food", "food",
"#food" "#food"
] ]
] ]
\ No newline at end of file
[ [
{ {
"about": "To highlight true Gems of Hive community with User Retention as primary objective.", "about": "To highlight true Gems of Hive community with User Retention as primary objective.",
"admins": [ "admins": [
"bluemist" "bluemist"
], ],
"avatar_url": "", "avatar_url": "",
"context": {}, "context": {},
"created_at": "2020-02-26 11:33:33", "created_at": "2020-02-26 11:33:33",
"id": 1369030, "id": 1369030,
"is_nsfw": false, "is_nsfw": false,
"lang": "en", "lang": "en",
"name": "hive-148441", "name": "hive-148441",
"num_authors": 1706, "num_authors": 1706,
"num_pending": 11787, "num_pending": 11787,
"subscribers": 5513, "subskrajbers": 5513,
"sum_pending": 13549, "sum_pending": 13549,
"title": "GEMS", "title": "GEMS",
"type_id": 1 "type_id": 1,
"seriously": "it does not detect differences"
} }
] ]
\ No newline at end of file
[] [
\ No newline at end of file {
"date": "2016-03-30T19:52:30",
"id": 1,
"msg": "@admin replied to your post",
"score": 20,
"type": "reply",
"url": "@admin/firstpost"
}
]
\ No newline at end of file
{ {
"lastread": "1970-01-01 00:00:00", "lastread": "1970-01-01 00:00:00",
"unread": 0 "unread": 375
} }
\ No newline at end of file
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
marks: marks:
- patterntest - patterntest
- failing - failing
- xfail - xfail # plenty of differences, most are formatting problems (some extra elements, some missing, some different type)
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
marks: marks:
- patterntest - patterntest
- failing - failing
- xfail - xfail # plenty of differences, most are formatting problems (some extra elements, some missing, some different type)
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
marks: marks:
- patterntest - patterntest
- failing - failing
- xfail - xfail # plenty of differences, most are formatting problems (some extra elements, some missing, some different type)
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
marks: marks:
- patterntest - patterntest
- failing - failing
- xfail - xfail # hard to say - too many differences (fix those in get_post first, might help here)
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
jsonrpc: "2.0" jsonrpc: "2.0"
id: 1 id: 1
method: "bridge.post_notifications" method: "bridge.post_notifications"
params: {"author":"steemit", "permlink":"firstpost"} params: {"author":"admin", "permlink":"firstpost", "min_score":15}
response: response:
status_code: 200 status_code: 200
verify_response_with: verify_response_with:
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
jsonrpc: "2.0" jsonrpc: "2.0"
id: 1 id: 1
method: "bridge.account_notifications" method: "bridge.account_notifications"
params: {"account":"steemit","limit":100} params: {"account":"steemit", "min_score": 15, "limit":20}
response: response:
status_code: 200 status_code: 200
verify_response_with: verify_response_with:
...@@ -273,6 +273,8 @@ ...@@ -273,6 +273,8 @@
marks: marks:
- patterntest - patterntest
- failing
- xfail # the underlying mechanism seems to be nonfunctional
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -288,7 +290,7 @@ ...@@ -288,7 +290,7 @@
jsonrpc: "2.0" jsonrpc: "2.0"
id: 1 id: 1
method: "bridge.unread_notifications" method: "bridge.unread_notifications"
params: {"account":"steemit"} params: {"account":"steemit", "min_score":15}
response: response:
status_code: 200 status_code: 200
verify_response_with: verify_response_with:
...@@ -302,8 +304,6 @@ ...@@ -302,8 +304,6 @@
marks: marks:
- patterntest - patterntest
- failing
- xfail
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
marks: marks:
- patterntest - patterntest
- failing - failing
- xfail - xfail # test should probably be removed from 5mln set since it will return error when incorrect community id is passed and communities did not exist then
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
test_name: Hivemind bridge_api.list_communities patterns test test_name: Hivemind bridge_api.list_communities patterns test
marks: marks:
- patterntest - patterntest # no nonempty result possible for 5mln set (ABW: something fishy here - as long as pattern is JSON it doesn't care about the content)
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -392,7 +392,7 @@ ...@@ -392,7 +392,7 @@
test_name: Hivemind bridge_api.list_community_roles patterns test test_name: Hivemind bridge_api.list_community_roles patterns test
marks: marks:
- patterntest - patterntest # no nonempty result possible for 5mln set
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -421,7 +421,7 @@ ...@@ -421,7 +421,7 @@
test_name: Hivemind bridge_api.list_subscribers patterns test test_name: Hivemind bridge_api.list_subscribers patterns test
marks: marks:
- patterntest - patterntest # no nonempty result possible for 5mln set
includes: includes:
- !include common.yaml - !include common.yaml
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
test_name: Hivemind bridge_api.list_all_subscriptions patterns test test_name: Hivemind bridge_api.list_all_subscriptions patterns test
marks: marks:
- patterntest - patterntest # no nonempty result possible for 5mln set
includes: includes:
- !include common.yaml - !include common.yaml
......
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