def METHOD_NAME(self):
    options = {
        "option1": EnumResourceParameter(
            name="option1",
            description="Option 1",
            values={"value1": "Value 1"},
        ),
        "option2": EnumResourceParameter(
            name="option2",
            description="Option 2",
            values={"value2": "Value 2"},
        )
    }
    local_options = {
        "local1": EnumResourceParameter(
            name="local1",
            description="Option 1",
            values={"value1": "Value 1"},
        ),
        "local2": EnumResourceParameter(
            name="local2",
            description="Option 2",
            values={"value2": "Value 2"},
        )
    }
    html = "<form>{}</form>".format(get_options_html(options, local_options))
    form = etree.fromstring(html)
    option1_elems = form.xpath("fieldset/div/input[@name='option1']")
    self.assertEqual(1, len(option1_elems))
    # Option 2 after Option 1
    option2_elems = option1_elems[0].xpath("../../following-sibling::fieldset/div/input[@name='option2']")
    self.assertEqual(1, len(option2_elems))
    # Debug is not True, so local settings should not be included
    self.assertNotIn("local1", html)
    self.assertNotIn("local2", html)
    self.assertNotIn("Local Generation Only", html)