def METHOD_NAME(repo):
    """
    Given: A modeling rule yml with schema key missing
    When: running are_keys_empty_in_yml
    Then: Validate that the modeling rule is invalid
    """
    yml_dict = {
        "id": "modeling-rule",
        "name": "Modeling Rule",
        "fromversion": 3.3,
        "tags": "tag",
        "rules": "",
    }
    pack = repo.create_pack("TestPack")
    dummy_modeling_rule = pack.create_modeling_rule("MyRule")
    structure_validator = StructureValidator(dummy_modeling_rule.yml.path)
    dummy_modeling_rule.yml.write_dict(yml_dict)
    with ChangeCWD(repo.path):
        modeling_rule_validator = ModelingRuleValidator(structure_validator)
        assert not modeling_rule_validator.are_keys_empty_in_yml()