Update test_connector.py

This commit is contained in:
Jacob Chapman
2022-05-08 08:45:34 -05:00
committed by GitHub
parent 1ad2b68e03
commit bfd481739b

View File

@@ -448,6 +448,7 @@ def test_check_user_existence_banned(
@pytest.mark.parametrize(('test_subreddit_name', 'expected_message'), (
('donaldtrump', 'cannot be found'),
('submitters', 'private and cannot be scraped')
('lhnhfkuhwreolo', 'does not exist')
))
def test_check_subreddit_status_bad(test_subreddit_name: str, expected_message: str, reddit_instance: praw.Reddit):
test_subreddit = reddit_instance.subreddit(test_subreddit_name)