def get_specification(commit_message, allowed_formats, allowed_uri_schemes):
    try:
        specification_str, _ = commit_message.split(' ', 1)
    except ValueError:
        # If there is only one word (the spec) split will fail
        specification_str = commit_message

    specification = Specification(specification_str, allowed_formats, allowed_uri_schemes)
    return specification
Create a fake security group.
dataset/ETHPy150Open zalando/turnstile/turnstile/models/specifications.py/get_specification--crossover with--dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py/FakeSecurityGroup.create_one_security_group