'Test add database user with bad perms for TestInfluxDBClient.'

def test_add_database_user_bad_permissions(self):

    cli = InfluxDBClient()
    with self.assertRaisesRegexp(Exception, "'permissions'    must    be    \\(readFrom,    writeTo\\)    tuple"):
        cli.add_database_user(new_password='paul', new_username='paul', permissions=('hello', 'hello', 'hello'))
