'Test clean_host'

def test_clean_host(self):

    self.assertEqual(config.clean_host('http://127.0.0.1:8080'), '127.0.0.1:8080')
    self.assertEqual(config.clean_host('https://mail.google.com/mail'), 'mail.google.com')
    self.assertEqual(config.clean_host('http://localhost:8081/home/displayShow?show=80379#season-10'), 'localhost:8081')
    self.assertEqual(config.clean_host('http://testme.co.uk', 9000), 'testme.co.uk:9000')
    self.assertEqual(config.clean_host('www.google.com/search'), 'www.google.com')
    self.assertEqual(config.clean_host(''), '')
