def test_run_srs(*sr_names):
 srs = Subreddit._by_name(sr_names).values()
 uploader = SubredditUploader(g.CLOUDSEARCH_SUBREDDIT_DOC_API, things=srs)
 return uploader.inject()

def test_run_srs ( * sr_names ) : srs = Subreddit . _by_name ( sr_names ) . values ( ) uploader = SubredditUploader ( g . CLOUDSEARCH_SUBREDDIT_DOC_API , things = srs ) return uploader . inject ( )
inject subreddits by name into the index .