From a0833a0f6856c73a49dd4f975e2e000b81937ce7 Mon Sep 17 00:00:00 2001
From: Paulina Czempiel <pczempiel@syncad.com>
Date: Wed, 9 Sep 2020 13:00:59 +0200
Subject: [PATCH] condenser_api get_discussions_by_author_before_date tests
 moved to folder

---
 .../over_limit.orig.json                      |   5 +
 .../over_limit.pat.json                       |   5 +
 .../over_limit.tavern.yaml                    |  30 +
 .../first.orig.json                           | 640 ++++++++++++++++++
 .../first.pat.json                            | 640 ++++++++++++++++++
 .../first.tavern.yaml                         |  28 +
 .../second.orig.json                          | 640 ++++++++++++++++++
 .../second.pat.json                           | 640 ++++++++++++++++++
 .../second.tavern.yaml                        |  28 +
 9 files changed, 2656 insertions(+)
 create mode 100644 hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.orig.json
 create mode 100644 hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.pat.json
 create mode 100644 hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.tavern.yaml

diff --git a/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.orig.json b/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.orig.json
new file mode 100644
index 00000000..6e08b595
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.orig.json
@@ -0,0 +1,5 @@
+{
+  "code": -32602,
+  "data": "limit exceeds max (101 > 100)",
+  "message": "Invalid parameters"
+}
diff --git a/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.pat.json b/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.pat.json
new file mode 100644
index 00000000..6e08b595
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.pat.json
@@ -0,0 +1,5 @@
+{
+  "code": -32602,
+  "data": "limit exceeds max (101 > 100)",
+  "message": "Invalid parameters"
+}
diff --git a/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.tavern.yaml b/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.tavern.yaml
new file mode 100644
index 00000000..f5c0fb4d
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_discussions_by_author_before_date/over_limit.tavern.yaml
@@ -0,0 +1,30 @@
+---
+  test_name: Hivemind condenser_api.get_discussions_by_author_before_date over limit patterns test
+
+  marks:
+    - patterntest
+    - negative
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_discussions_by_author over limit
+      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":"steemit","start_permlink":"firstpost","before_date":"2009-04-19T22:49:43","limit":101}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "over_limit"
+            directory: "condenser_api_negative/get_discussions_by_author_before_date"
+            error_response: true
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.orig.json b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.orig.json
new file mode 100644
index 00000000..0b58474c
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.orig.json
@@ -0,0 +1,640 @@
+[
+  {
+    "active_votes": [
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "375241",
+        "voter": "dantheman"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "886132",
+        "voter": "mr11acdee"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5100",
+        "voter": "steemit78"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1259167",
+        "voter": "anonymous"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "318519",
+        "voter": "hello"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "153384",
+        "voter": "world"
+      },
+      {
+        "percent": "-100",
+        "reputation": 0,
+        "rshares": "-936400",
+        "voter": "ned"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59412",
+        "voter": "fufubar1"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "14997",
+        "voter": "anonymous1"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "1441",
+        "voter": "red"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "551390835500",
+        "voter": "liondani"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "82748",
+        "voter": "roadscape"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "10772",
+        "voter": "xeroc"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7685088000",
+        "voter": "markopaasila"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "454510724",
+        "voter": "tshering-tamang"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "681946946",
+        "voter": "romangelsi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "504895891",
+        "voter": "dedmatvey"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "498863058",
+        "voter": "joelinux"
+      },
+      {
+        "percent": "0",
+        "reputation": 0,
+        "rshares": "9590417",
+        "voter": "piranhax"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "473258270",
+        "voter": "ned-reddit-login"
+      },
+      {
+        "percent": "3600",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "fernando-sanz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "425903066",
+        "voter": "gekko"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "381805870",
+        "voter": "gilang-ramadhan"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "392459059",
+        "voter": "kamvreto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "422984262",
+        "voter": "acidyo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "47179379651",
+        "voter": "tosch"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7831667988",
+        "voter": "klye"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1019950749",
+        "voter": "coar"
+      },
+      {
+        "percent": "1509",
+        "reputation": 0,
+        "rshares": "1746058458",
+        "voter": "murh"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "22639073725",
+        "voter": "drinkzya"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "hien-tran"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "742566481",
+        "voter": "patrick-g"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "40624969",
+        "voter": "ben99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1742755097",
+        "voter": "sunshinecrypto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "108855472",
+        "voter": "kingtylervvs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "485112237",
+        "voter": "marinabogumil"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "917398502",
+        "voter": "decrypt"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5067187498",
+        "voter": "senseiteekay"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5154897955",
+        "voter": "r33drum"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5033902237",
+        "voter": "cryptosi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1037079223",
+        "voter": "condra"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "233032838",
+        "voter": "jearson"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "240809500",
+        "voter": "tritium"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "123321995",
+        "voter": "allmonitors"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "226074637",
+        "voter": "artjedi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "931542394",
+        "voter": "anduweb"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "2292983350",
+        "voter": "inertia"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "128561059",
+        "voter": "maximkichev"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "183438273",
+        "voter": "a9inchcock"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "266262926",
+        "voter": "desmonid"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "71498008",
+        "voter": "madhatting"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "23726644841",
+        "voter": "ubg"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3741408303",
+        "voter": "royaltiffany"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "131577259",
+        "voter": "gribgo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "12371398765",
+        "voter": "deanliu"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "28907874049",
+        "voter": "orm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "528988007",
+        "voter": "qonq99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "129537329",
+        "voter": "rd7783"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "615020728",
+        "voter": "slava"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "flyboyzombie"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "100102503",
+        "voter": "sictransitgloria"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "95219365",
+        "voter": "curator"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "232295871",
+        "voter": "dubovoy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "solos"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "96945805",
+        "voter": "creatorgalaxy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "99813231",
+        "voter": "trigonice29"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "blysards"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3721016208",
+        "voter": "uwe69"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1279854",
+        "voter": "nigmat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "13974353753",
+        "voter": "magicmonk"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "4968585456",
+        "voter": "satoshifpv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1660613178",
+        "voter": "naturalista"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "10847083143",
+        "voter": "metrox"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "18340928",
+        "voter": "bestmalik"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59563315",
+        "voter": "kolyan31"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "710989138",
+        "voter": "romancs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59366614",
+        "voter": "luke490"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58762473",
+        "voter": "bro66"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "201822591",
+        "voter": "future24"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58623688",
+        "voter": "mythras"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "56536509",
+        "voter": "imarealboy777"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "matrixdweller"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48299362",
+        "voter": "smartguylabcoat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59157099",
+        "voter": "mabiturm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48283979",
+        "voter": "captainamerica"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54761612",
+        "voter": "edbriv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "865125771",
+        "voter": "rittr"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "92614447",
+        "voter": "jelloducky"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52740989",
+        "voter": "tcstix"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "49467477",
+        "voter": "friedwater"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "57366185",
+        "voter": "denisdiaz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "132070449",
+        "voter": "loganarchy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48811442",
+        "voter": "love-spirit-nerd"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "51549585",
+        "voter": "dikanevn"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54017869",
+        "voter": "zelious"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "50129944",
+        "voter": "freebornangel"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "53196086",
+        "voter": "f1111111"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "anomaly"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52394017140",
+        "voter": "jack8831"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "buckland"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "goldmatters"
+      }
+    ],
+    "author": "steemit",
+    "author_reputation": 0,
+    "beneficiaries": [],
+    "body": "Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power.",
+    "body_length": 224,
+    "cashout_time": "1969-12-31T23:59:59",
+    "category": "meta",
+    "children": 36,
+    "created": "2016-03-30T18:30:18",
+    "curator_payout_value": "0.756 HBD",
+    "depth": 0,
+    "json_metadata": "{}",
+    "last_payout": "2016-08-24T19:59:42",
+    "last_update": "2016-03-30T18:30:18",
+    "max_accepted_payout": "1000000.000 HBD",
+    "net_rshares": 830053779138,
+    "parent_author": "",
+    "parent_permlink": "meta",
+    "pending_payout_value": "0.000 HBD",
+    "percent_steem_dollars": 10000,
+    "permlink": "firstpost",
+    "post_id": 1,
+    "promoted": "0.000 HBD",
+    "replies": [],
+    "root_title": "Welcome to Steem!",
+    "title": "Welcome to Steem!",
+    "total_payout_value": "0.942 HBD",
+    "url": "/meta/@steemit/firstpost"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.pat.json b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.pat.json
new file mode 100644
index 00000000..1075dfdc
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.pat.json
@@ -0,0 +1,640 @@
+[
+  {
+    "active_votes": [
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "375241",
+        "voter": "dantheman"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "886132",
+        "voter": "mr11acdee"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5100",
+        "voter": "steemit78"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1259167",
+        "voter": "anonymous"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "318519",
+        "voter": "hello"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "153384",
+        "voter": "world"
+      },
+      {
+        "percent": "-100",
+        "reputation": 0,
+        "rshares": "-936400",
+        "voter": "ned"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59412",
+        "voter": "fufubar1"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "14997",
+        "voter": "anonymous1"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "1441",
+        "voter": "red"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "551390835500",
+        "voter": "liondani"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "82748",
+        "voter": "roadscape"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "10772",
+        "voter": "xeroc"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7685088000",
+        "voter": "markopaasila"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "454510724",
+        "voter": "tshering-tamang"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "681946946",
+        "voter": "romangelsi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "504895891",
+        "voter": "dedmatvey"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "498863058",
+        "voter": "joelinux"
+      },
+      {
+        "percent": "0",
+        "reputation": 0,
+        "rshares": "9590417",
+        "voter": "piranhax"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "473258270",
+        "voter": "ned-reddit-login"
+      },
+      {
+        "percent": "3600",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "fernando-sanz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "425903066",
+        "voter": "gekko"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "381805870",
+        "voter": "gilang-ramadhan"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "392459059",
+        "voter": "kamvreto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "422984262",
+        "voter": "acidyo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "47179379651",
+        "voter": "tosch"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7831667988",
+        "voter": "klye"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1019950749",
+        "voter": "coar"
+      },
+      {
+        "percent": "1509",
+        "reputation": 0,
+        "rshares": "1746058458",
+        "voter": "murh"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "22639073725",
+        "voter": "drinkzya"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "hien-tran"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "742566481",
+        "voter": "patrick-g"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "40624969",
+        "voter": "ben99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1742755097",
+        "voter": "sunshinecrypto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "108855472",
+        "voter": "kingtylervvs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "485112237",
+        "voter": "marinabogumil"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "917398502",
+        "voter": "decrypt"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5067187498",
+        "voter": "senseiteekay"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5154897955",
+        "voter": "r33drum"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5033902237",
+        "voter": "cryptosi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1037079223",
+        "voter": "condra"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "233032838",
+        "voter": "jearson"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "240809500",
+        "voter": "tritium"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "123321995",
+        "voter": "allmonitors"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "226074637",
+        "voter": "artjedi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "931542394",
+        "voter": "anduweb"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "2292983350",
+        "voter": "inertia"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "128561059",
+        "voter": "maximkichev"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "183438273",
+        "voter": "a9inchcock"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "266262926",
+        "voter": "desmonid"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "71498008",
+        "voter": "madhatting"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "23726644841",
+        "voter": "ubg"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3741408303",
+        "voter": "royaltiffany"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "131577259",
+        "voter": "gribgo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "12371398765",
+        "voter": "deanliu"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "28907874049",
+        "voter": "orm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "528988007",
+        "voter": "qonq99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "129537329",
+        "voter": "rd7783"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "615020728",
+        "voter": "slava"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "flyboyzombie"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "100102503",
+        "voter": "sictransitgloria"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "95219365",
+        "voter": "curator"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "232295871",
+        "voter": "dubovoy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "solos"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "96945805",
+        "voter": "creatorgalaxy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "99813231",
+        "voter": "trigonice29"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "blysards"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3721016208",
+        "voter": "uwe69"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1279854",
+        "voter": "nigmat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "13974353753",
+        "voter": "magicmonk"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "4968585456",
+        "voter": "satoshifpv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1660613178",
+        "voter": "naturalista"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "10847083143",
+        "voter": "metrox"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "18340928",
+        "voter": "bestmalik"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59563315",
+        "voter": "kolyan31"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "710989138",
+        "voter": "romancs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59366614",
+        "voter": "luke490"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58762473",
+        "voter": "bro66"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "201822591",
+        "voter": "future24"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58623688",
+        "voter": "mythras"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "56536509",
+        "voter": "imarealboy777"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "matrixdweller"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48299362",
+        "voter": "smartguylabcoat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59157099",
+        "voter": "mabiturm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48283979",
+        "voter": "captainamerica"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54761612",
+        "voter": "edbriv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "865125771",
+        "voter": "rittr"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "92614447",
+        "voter": "jelloducky"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52740989",
+        "voter": "tcstix"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "49467477",
+        "voter": "friedwater"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "57366185",
+        "voter": "denisdiaz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "132070449",
+        "voter": "loganarchy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48811442",
+        "voter": "love-spirit-nerd"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "51549585",
+        "voter": "dikanevn"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54017869",
+        "voter": "zelious"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "50129944",
+        "voter": "freebornangel"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "53196086",
+        "voter": "f1111111"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "anomaly"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52394017140",
+        "voter": "jack8831"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "buckland"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "goldmatters"
+      }
+    ],
+    "author": "steemit",
+    "author_reputation": 0,
+    "beneficiaries": [],
+    "body": "Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power.",
+    "body_length": 224,
+    "cashout_time": "1969-12-31T23:59:59",
+    "category": "meta",
+    "children": 36,
+    "created": "2016-03-30T18:30:18",
+    "curator_payout_value": "0.756 HBD",
+    "depth": 0,
+    "json_metadata": "",
+    "last_payout": "2016-08-24T19:59:42",
+    "last_update": "2016-03-30T18:30:18",
+    "max_accepted_payout": "1000000.000 HBD",
+    "net_rshares": 830053779138,
+    "parent_author": "",
+    "parent_permlink": "meta",
+    "pending_payout_value": "0.000 HBD",
+    "percent_hbd": 10000,
+    "permlink": "firstpost",
+    "post_id": 1,
+    "promoted": "0.000 HBD",
+    "replies": [],
+    "root_title": "Welcome to Steem!",
+    "title": "Welcome to Steem!",
+    "total_payout_value": "0.942 HBD",
+    "url": "/meta/@steemit/firstpost"
+  }
+]
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.tavern.yaml
new file mode 100644
index 00000000..21cda3eb
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/first.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_discussions_by_author_before_date patterns test
+
+  marks:
+    - patterntest
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_discussions_by_author_before_date
+      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":"steemit","start_permlink":"firstpost","before_date":"2016-04-19T22:49:43","limit":1}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "first"
+            directory: "condenser_api_patterns/get_discussions_by_author_before_date"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.orig.json b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.orig.json
new file mode 100644
index 00000000..0b58474c
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.orig.json
@@ -0,0 +1,640 @@
+[
+  {
+    "active_votes": [
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "375241",
+        "voter": "dantheman"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "886132",
+        "voter": "mr11acdee"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5100",
+        "voter": "steemit78"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1259167",
+        "voter": "anonymous"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "318519",
+        "voter": "hello"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "153384",
+        "voter": "world"
+      },
+      {
+        "percent": "-100",
+        "reputation": 0,
+        "rshares": "-936400",
+        "voter": "ned"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59412",
+        "voter": "fufubar1"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "14997",
+        "voter": "anonymous1"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "1441",
+        "voter": "red"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "551390835500",
+        "voter": "liondani"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "82748",
+        "voter": "roadscape"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "10772",
+        "voter": "xeroc"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7685088000",
+        "voter": "markopaasila"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "454510724",
+        "voter": "tshering-tamang"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "681946946",
+        "voter": "romangelsi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "504895891",
+        "voter": "dedmatvey"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "498863058",
+        "voter": "joelinux"
+      },
+      {
+        "percent": "0",
+        "reputation": 0,
+        "rshares": "9590417",
+        "voter": "piranhax"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "473258270",
+        "voter": "ned-reddit-login"
+      },
+      {
+        "percent": "3600",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "fernando-sanz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "425903066",
+        "voter": "gekko"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "381805870",
+        "voter": "gilang-ramadhan"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "392459059",
+        "voter": "kamvreto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "422984262",
+        "voter": "acidyo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "47179379651",
+        "voter": "tosch"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7831667988",
+        "voter": "klye"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1019950749",
+        "voter": "coar"
+      },
+      {
+        "percent": "1509",
+        "reputation": 0,
+        "rshares": "1746058458",
+        "voter": "murh"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "22639073725",
+        "voter": "drinkzya"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "hien-tran"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "742566481",
+        "voter": "patrick-g"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "40624969",
+        "voter": "ben99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1742755097",
+        "voter": "sunshinecrypto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "108855472",
+        "voter": "kingtylervvs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "485112237",
+        "voter": "marinabogumil"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "917398502",
+        "voter": "decrypt"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5067187498",
+        "voter": "senseiteekay"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5154897955",
+        "voter": "r33drum"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5033902237",
+        "voter": "cryptosi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1037079223",
+        "voter": "condra"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "233032838",
+        "voter": "jearson"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "240809500",
+        "voter": "tritium"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "123321995",
+        "voter": "allmonitors"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "226074637",
+        "voter": "artjedi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "931542394",
+        "voter": "anduweb"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "2292983350",
+        "voter": "inertia"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "128561059",
+        "voter": "maximkichev"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "183438273",
+        "voter": "a9inchcock"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "266262926",
+        "voter": "desmonid"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "71498008",
+        "voter": "madhatting"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "23726644841",
+        "voter": "ubg"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3741408303",
+        "voter": "royaltiffany"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "131577259",
+        "voter": "gribgo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "12371398765",
+        "voter": "deanliu"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "28907874049",
+        "voter": "orm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "528988007",
+        "voter": "qonq99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "129537329",
+        "voter": "rd7783"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "615020728",
+        "voter": "slava"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "flyboyzombie"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "100102503",
+        "voter": "sictransitgloria"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "95219365",
+        "voter": "curator"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "232295871",
+        "voter": "dubovoy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "solos"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "96945805",
+        "voter": "creatorgalaxy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "99813231",
+        "voter": "trigonice29"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "blysards"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3721016208",
+        "voter": "uwe69"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1279854",
+        "voter": "nigmat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "13974353753",
+        "voter": "magicmonk"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "4968585456",
+        "voter": "satoshifpv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1660613178",
+        "voter": "naturalista"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "10847083143",
+        "voter": "metrox"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "18340928",
+        "voter": "bestmalik"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59563315",
+        "voter": "kolyan31"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "710989138",
+        "voter": "romancs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59366614",
+        "voter": "luke490"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58762473",
+        "voter": "bro66"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "201822591",
+        "voter": "future24"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58623688",
+        "voter": "mythras"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "56536509",
+        "voter": "imarealboy777"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "matrixdweller"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48299362",
+        "voter": "smartguylabcoat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59157099",
+        "voter": "mabiturm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48283979",
+        "voter": "captainamerica"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54761612",
+        "voter": "edbriv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "865125771",
+        "voter": "rittr"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "92614447",
+        "voter": "jelloducky"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52740989",
+        "voter": "tcstix"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "49467477",
+        "voter": "friedwater"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "57366185",
+        "voter": "denisdiaz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "132070449",
+        "voter": "loganarchy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48811442",
+        "voter": "love-spirit-nerd"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "51549585",
+        "voter": "dikanevn"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54017869",
+        "voter": "zelious"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "50129944",
+        "voter": "freebornangel"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "53196086",
+        "voter": "f1111111"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "anomaly"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52394017140",
+        "voter": "jack8831"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "buckland"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "goldmatters"
+      }
+    ],
+    "author": "steemit",
+    "author_reputation": 0,
+    "beneficiaries": [],
+    "body": "Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power.",
+    "body_length": 224,
+    "cashout_time": "1969-12-31T23:59:59",
+    "category": "meta",
+    "children": 36,
+    "created": "2016-03-30T18:30:18",
+    "curator_payout_value": "0.756 HBD",
+    "depth": 0,
+    "json_metadata": "{}",
+    "last_payout": "2016-08-24T19:59:42",
+    "last_update": "2016-03-30T18:30:18",
+    "max_accepted_payout": "1000000.000 HBD",
+    "net_rshares": 830053779138,
+    "parent_author": "",
+    "parent_permlink": "meta",
+    "pending_payout_value": "0.000 HBD",
+    "percent_steem_dollars": 10000,
+    "permlink": "firstpost",
+    "post_id": 1,
+    "promoted": "0.000 HBD",
+    "replies": [],
+    "root_title": "Welcome to Steem!",
+    "title": "Welcome to Steem!",
+    "total_payout_value": "0.942 HBD",
+    "url": "/meta/@steemit/firstpost"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.pat.json b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.pat.json
new file mode 100644
index 00000000..b4c43064
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.pat.json
@@ -0,0 +1,640 @@
+[
+  {
+    "active_votes": [
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "375241",
+        "voter": "dantheman"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "886132",
+        "voter": "mr11acdee"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5100",
+        "voter": "steemit78"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1259167",
+        "voter": "anonymous"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "318519",
+        "voter": "hello"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "153384",
+        "voter": "world"
+      },
+      {
+        "percent": "-100",
+        "reputation": 0,
+        "rshares": "-936400",
+        "voter": "ned"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59412",
+        "voter": "fufubar1"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "14997",
+        "voter": "anonymous1"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "1441",
+        "voter": "red"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "551390835500",
+        "voter": "liondani"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "82748",
+        "voter": "roadscape"
+      },
+      {
+        "percent": "100",
+        "reputation": 0,
+        "rshares": "10772",
+        "voter": "xeroc"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7685088000",
+        "voter": "markopaasila"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "454510724",
+        "voter": "tshering-tamang"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "681946946",
+        "voter": "romangelsi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "504895891",
+        "voter": "dedmatvey"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "498863058",
+        "voter": "joelinux"
+      },
+      {
+        "percent": "0",
+        "reputation": 0,
+        "rshares": "9590417",
+        "voter": "piranhax"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "473258270",
+        "voter": "ned-reddit-login"
+      },
+      {
+        "percent": "3600",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "fernando-sanz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "425903066",
+        "voter": "gekko"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "381805870",
+        "voter": "gilang-ramadhan"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "392459059",
+        "voter": "kamvreto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "422984262",
+        "voter": "acidyo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "47179379651",
+        "voter": "tosch"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "7831667988",
+        "voter": "klye"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1019950749",
+        "voter": "coar"
+      },
+      {
+        "percent": "1509",
+        "reputation": 0,
+        "rshares": "1746058458",
+        "voter": "murh"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "22639073725",
+        "voter": "drinkzya"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "hien-tran"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "742566481",
+        "voter": "patrick-g"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "40624969",
+        "voter": "ben99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1742755097",
+        "voter": "sunshinecrypto"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "108855472",
+        "voter": "kingtylervvs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "485112237",
+        "voter": "marinabogumil"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "917398502",
+        "voter": "decrypt"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5067187498",
+        "voter": "senseiteekay"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5154897955",
+        "voter": "r33drum"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "5033902237",
+        "voter": "cryptosi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1037079223",
+        "voter": "condra"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "233032838",
+        "voter": "jearson"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "240809500",
+        "voter": "tritium"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "123321995",
+        "voter": "allmonitors"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "226074637",
+        "voter": "artjedi"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "931542394",
+        "voter": "anduweb"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "2292983350",
+        "voter": "inertia"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "128561059",
+        "voter": "maximkichev"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "183438273",
+        "voter": "a9inchcock"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "266262926",
+        "voter": "desmonid"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "71498008",
+        "voter": "madhatting"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "23726644841",
+        "voter": "ubg"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3741408303",
+        "voter": "royaltiffany"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "131577259",
+        "voter": "gribgo"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "12371398765",
+        "voter": "deanliu"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "28907874049",
+        "voter": "orm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "528988007",
+        "voter": "qonq99"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "129537329",
+        "voter": "rd7783"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "615020728",
+        "voter": "slava"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "flyboyzombie"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "100102503",
+        "voter": "sictransitgloria"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "95219365",
+        "voter": "curator"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "232295871",
+        "voter": "dubovoy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "solos"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "96945805",
+        "voter": "creatorgalaxy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "99813231",
+        "voter": "trigonice29"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "blysards"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "3721016208",
+        "voter": "uwe69"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1279854",
+        "voter": "nigmat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "13974353753",
+        "voter": "magicmonk"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "4968585456",
+        "voter": "satoshifpv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "1660613178",
+        "voter": "naturalista"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "10847083143",
+        "voter": "metrox"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "18340928",
+        "voter": "bestmalik"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59563315",
+        "voter": "kolyan31"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "710989138",
+        "voter": "romancs"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59366614",
+        "voter": "luke490"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58762473",
+        "voter": "bro66"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "201822591",
+        "voter": "future24"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "58623688",
+        "voter": "mythras"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "56536509",
+        "voter": "imarealboy777"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "matrixdweller"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48299362",
+        "voter": "smartguylabcoat"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "59157099",
+        "voter": "mabiturm"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48283979",
+        "voter": "captainamerica"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54761612",
+        "voter": "edbriv"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "865125771",
+        "voter": "rittr"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "92614447",
+        "voter": "jelloducky"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52740989",
+        "voter": "tcstix"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "49467477",
+        "voter": "friedwater"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "57366185",
+        "voter": "denisdiaz"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "132070449",
+        "voter": "loganarchy"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "48811442",
+        "voter": "love-spirit-nerd"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "51549585",
+        "voter": "dikanevn"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "54017869",
+        "voter": "zelious"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "50129944",
+        "voter": "freebornangel"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "53196086",
+        "voter": "f1111111"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "anomaly"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "52394017140",
+        "voter": "jack8831"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "buckland"
+      },
+      {
+        "percent": "10000",
+        "reputation": 0,
+        "rshares": "0",
+        "voter": "goldmatters"
+      }
+    ],
+    "author": "steemit",
+    "author_reputation": 0,
+    "beneficiaries": [],
+    "body": "Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power.",
+    "body_length": 224,
+    "cashout_time": "1969-12-31T23:59:59",
+    "category": "meta",
+    "children": 36,
+    "created": "2016-03-30T18:30:18",
+    "curator_payout_value": "0.756 HBD",
+    "depth": 0,
+    "json_metadata": "",
+    "last_payout": "2016-08-24T19:59:42",
+    "last_update": "2016-03-30T18:30:18",
+    "max_accepted_payout": "1000000.000 HBD",
+    "net_rshares": 830053779138,
+    "parent_author": "",
+    "parent_permlink": "meta",
+    "pending_payout_value": "0.000 HBD",
+    "percent_hbd": 10000,
+    "permlink": "firstpost",
+    "post_id": 1,
+    "promoted": "0.000 HBD",
+    "replies": [],
+    "root_title": "Welcome to Steem!",
+    "title": "Welcome to Steem!",
+    "total_payout_value": "0.942 HBD",
+    "url": "/meta/@steemit/firstpost"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.tavern.yaml
new file mode 100644
index 00000000..ab8aac77
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_discussions_by_author_before_date/second.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  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":"steemit","start_permlink":"firstpost","before_date":"2009-04-19T22:49:43","limit":1}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "second"
+            directory: "condenser_api_patterns/get_discussions_by_author_before_date"
\ No newline at end of file
-- 
GitLab