From 244d5c7f56bc2959f68084002e25e936413af826 Mon Sep 17 00:00:00 2001 From: ABW <andrzejl@syncad.com> Date: Thu, 10 Sep 2020 16:22:12 +0200 Subject: [PATCH] [ABW]: one of the tests wasn't even run, also fixed its pattern --- .../list_votes_by_comment_voter.pat.json | 34 +++++++++---------- .../test_database_api_patterns.tavern.yaml | 5 +-- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json b/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json index 081a5e5c..7c879abf 100644 --- a/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json +++ b/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json @@ -4,60 +4,60 @@ "last_update": "2016-08-25T21:14:06", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "1443077144144", + "rshares": 1443077144144, "vote_percent": 10000, "voter": "anonymous", - "weight": "14340640191507060" + "weight": 14340640191507060 }, { "author": "roelandp", "last_update": "2016-08-25T21:20:09", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "158985837190", + "rshares": 158985837190, "vote_percent": 10000, "voter": "highasfuck", - "weight": "18707262932859690" + "weight": 18707262932859690 }, { "author": "roelandp", "last_update": "2016-08-25T22:53:06", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "7872457033211", + "rshares": 7872457033211, "vote_percent": 10000, "voter": "pharesim", - "weight": "575498905301694100" + "weight": 575498905301694100 }, { "author": "roelandp", "last_update": "2016-08-25T21:17:21", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "1754932215280", + "rshares": 1754932215280, "vote_percent": 10000, "voter": "hr1", - "weight": "240710957476907253" + "weight": 240710957476907253 }, { "author": "roelandp", "last_update": "2016-08-25T21:37:36", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "9910147284570", + "rshares": 9910147284570, "vote_percent": 5000, "voter": "tombstone", - "weight": "1299387373405102838" + "weight": 1299387373405102838 }, { "author": "roelandp", "last_update": "2016-08-25T21:37:18", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "2921333226039", + "rshares": 2921333226039, "vote_percent": 10000, "voter": "wang", - "weight": "731336847763362836" + "weight": 731336847763362836 }, { "author": "roelandp", @@ -67,7 +67,7 @@ "rshares": 2476131997, "vote_percent": 10000, "voter": "boy", - "weight": "140990083519884" + "weight": 140990083519884 }, { "author": "roelandp", @@ -77,7 +77,7 @@ "rshares": 3005703855, "vote_percent": 10000, "voter": "bue-witness", - "weight": "171594258591508" + "weight": 171594258591508 }, { "author": "roelandp", @@ -87,16 +87,16 @@ "rshares": 557354442, "vote_percent": 10000, "voter": "bunny", - "weight": "31731545284403" + "weight": 31731545284403 }, { "author": "roelandp", "last_update": "2016-08-26T15:42:12", "num_changes": 0, "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": "2152215026140", + "rshares": 2152215026140, "vote_percent": 2900, "voter": "complexring", - "weight": "109163904259652527" + "weight": 109163904259652527 } ] diff --git a/hivemind/tavern/test_database_api_patterns.tavern.yaml b/hivemind/tavern/test_database_api_patterns.tavern.yaml index f49d8549..1cfce8eb 100644 --- a/hivemind/tavern/test_database_api_patterns.tavern.yaml +++ b/hivemind/tavern/test_database_api_patterns.tavern.yaml @@ -812,7 +812,7 @@ stages: test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" marks: - - patterntest # show last comments in base + - patterntest includes: - !include common.yaml @@ -846,7 +846,7 @@ stages: test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" marks: - - patterntest # show last comments in base + - patterntest includes: - !include common.yaml @@ -876,6 +876,7 @@ stages: method: "list_votes_by_comment_voter" directory: "database_api_patterns" +--- test_name: Hivemind database_api.find_votes patterns test marks: -- GitLab