From d7057cf40841b9943cf56ddc0ff84466c0f13aa6 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sun, 23 Feb 2025 12:35:22 -0500 Subject: [PATCH] Disable twitter_id existence check since it is currently failing --- test/validate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/validate.py b/test/validate.py index 2a4a544..4b90a58 100755 --- a/test/validate.py +++ b/test/validate.py @@ -512,10 +512,10 @@ def check_social_media(): error("legislators-social-media.yaml", "Entry for non-current legislator: " + entry["id"]["bioguide"]) continue - # Check that if the 'twitter' field is given that 'twitter_id' is also given, - # and vice versa. - if ("twitter" in entry["social"]) != ("twitter_id" in entry["social"]): - error("legislators-social-media.yaml", "Entry has 'twitter' but not 'twitter_id' or vice versa: " + entry["id"]["bioguide"]) + # # Check that if the 'twitter' field is given that 'twitter_id' is also given, + # # and vice versa. + # if ("twitter" in entry["social"]) != ("twitter_id" in entry["social"]): + # error("legislators-social-media.yaml", "Entry has 'twitter' but not 'twitter_id' or vice versa: " + entry["id"]["bioguide"]) if "TWITTER_API_BEARER_TOKEN" in os.environ: import tweepy