Update test_connector.py
This commit is contained in:
parent
1ad2b68e03
commit
bfd481739b
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue