'Test with User Agent of Chrome'

def test_chrome(self):

    user_agent = 'Mozilla/5.0    (Windows    NT    6.1)    AppleWebKit/537.36    (KHTML,    like    Gecko)    Chrome/41.0.2228.0    Safari/537.36'
    eq_(get_browser(user_agent), 'Chrome')
