def status_json(): test_cases_dir = join(dirname(realpath(__file__)), "twitter-single_comment.json") return read_jsonpickle(test_cases_dir)
def mock_response(): gn_response_path = join(dirname(realpath(__file__)), "gn-example_response.json") return read_jsonpickle(gn_response_path)
def get_gn_articles(): gn_articles_path = join(dirname(realpath(__file__)), "gn-historical_comments.json") return read_jsonpickle(gn_articles_path)
def get_hn_comments_jsonpkl(): hn_comments_jsonpkl_path = join(dirname(realpath(__file__)), "hn-stream_comments.json") return read_jsonpickle(hn_comments_jsonpkl_path)
def hacker_news_comment_json(): hn_comments_russia_json_pkl_path = join(dirname(realpath(__file__)), "hn-historical-russia.json") return read_jsonpickle(hn_comments_russia_json_pkl_path)
def get_tweets_pkl(): tweets_pkl_path = join(dirname(realpath(__file__)), "twitter-stream_comments.json") return read_jsonpickle(tweets_pkl_path)