'Test switch user in TestInfluxDBClient object.'

def test_switch_user(self):

    cli = InfluxDBClient(u'host', 8086, u'username', u'password', u'database')
    cli.switch_user(u'another_username', u'another_password')
    self.assertEqual(u'another_username', cli._username)
    self.assertEqual(u'another_password', cli._password)
