'Test invalid alter ret policy for TestInfluxDBClient object.'

@raises(Exception)
def test_alter_retention_policy_invalid(self):

    cli = InfluxDBClient(u'host', 8086, u'username', u'password')
    with _mocked_session(cli, u'get', 400):
        self.cli.alter_retention_policy(u'somename', u'db')
