def _enable_xhtml(browser, enable):
    factory = browser._browser._factory
    factory.basic_factory._response_type_finder._allow_xhtml = \
        factory.soup_factory._response_type_finder._allow_xhtml = \
            enable
Creates a new security group.
dataset/ETHPy150Open ericholscher/django-test-utils/test_utils/utils/twill_runner.py/_enable_xhtml--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/security_groups.py/SecurityGroupController.create