def test_non_existing_subreddit(self):
     with self.assertRaises(InvalidSubreddit):
         _remove_subreddit('new')
 def test_existing_subreddit(self):
     _remove_subreddit('old')
     self.assertNotIn('old', self.settings['subreddits'])