def test_parse_tweet_from_url(self):
	''' Tests that tweet from hashtag can be parsed to correct text '''
	tweets = get_fewer_tweets_from_hashtag(connect(), "#musicthatdontmatch")
	parsed_tweets = parse_all(tweets)
	tweet = parsed_tweets[0]
	text = get_tweet_from_url(connect(), tweet['url'])
	self.assertEqual(parse(text)['line'], tweet['line'])
    def test_hashtag_urls(self):
	''' Tests that tweet gotten from hashtag search matches url '''
	tweets = get_fewer_tweets_from_hashtag(connect(), "#BatonRougeSlang")
	self.assertEqual(get_tweet_from_url(connect(), tweets[1]), tweets[0])