def METHOD_NAME(module_import_puppet_module, session_puppet_enabled_sat):
    """Check if environment sc-param subcommand works passing
    an environment id
    :id: 32de4f0e-7b52-411c-a111-9ed472c3fc34
    :expectedresults: The command runs without raising an error
    """
    # Override one of the sc-params from puppet class
    sc_params_list = session_puppet_enabled_sat.cli.SmartClassParameter.list(
        {
            'puppet-environment': module_import_puppet_module['env'],
            'search': f'puppetclass="{module_import_puppet_module["puppet_class"]}"',
        }
    )
    scp_id = choice(sc_params_list)['id']
    session_puppet_enabled_sat.cli.SmartClassParameter.update({'id': scp_id, 'override': 1})
    # Verify that affected sc-param is listed
    env_scparams = session_puppet_enabled_sat.cli.Environment.sc_params(
        {'puppet-environment': module_import_puppet_module['env']}
    )
    assert scp_id in [scp['id'] for scp in env_scparams]