Skip to content

Commit d7057cf

Browse files
committed
Disable twitter_id existence check since it is currently failing
1 parent 5f5e847 commit d7057cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/validate.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,10 @@ def check_social_media():
512512
error("legislators-social-media.yaml", "Entry for non-current legislator: " + entry["id"]["bioguide"])
513513
continue
514514

515-
# Check that if the 'twitter' field is given that 'twitter_id' is also given,
516-
# and vice versa.
517-
if ("twitter" in entry["social"]) != ("twitter_id" in entry["social"]):
518-
error("legislators-social-media.yaml", "Entry has 'twitter' but not 'twitter_id' or vice versa: " + entry["id"]["bioguide"])
515+
# # Check that if the 'twitter' field is given that 'twitter_id' is also given,
516+
# # and vice versa.
517+
# if ("twitter" in entry["social"]) != ("twitter_id" in entry["social"]):
518+
# error("legislators-social-media.yaml", "Entry has 'twitter' but not 'twitter_id' or vice versa: " + entry["id"]["bioguide"])
519519

520520
if "TWITTER_API_BEARER_TOKEN" in os.environ:
521521
import tweepy

0 commit comments

Comments
 (0)