def METHOD_NAME(self, executor):
    config = Configuration.create(
        effective_user="acct:user@bad_authority.com", total_instructions=2
    )
    with pytest.raises(InvalidDeclarationError):
        executor.configure(config)