1
0
Fork 0
mirror of synced 2024-06-26 10:00:20 +12:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)