'Test grant invalid privs for TestInfluxDBClient object.'

@raises(Exception)
def test_grant_privilege_invalid(self):

    cli = InfluxDBClient(u'host', 8086, u'username', u'password')
    with _mocked_session(cli, u'get', 400):
        self.cli.grant_privilege(u'', u'testdb', u'test')
