def test_match_rule_multiple():
    grammar = """
    Rule: 'one' 'two' | 'three';
    """
    meta = metamodel_from_str(grammar)
    assert meta
    assert meta['Rule']._tx_type is RULE_MATCH

    model = meta.model_from_str(' one two')
    assert model
    assert model.__class__ == text
    assert model == "onetwo"
Authenticates a user via the Keystone Identity API.
dataset/ETHPy150Open igordejanovic/textX/tests/functional/test_textx_language.py/test_match_rule_multiple--crossover with--dataset/ETHPy150Open openstack/django_openstack_auth/openstack_auth/backend.py/KeystoneBackend.authenticate