Skip to content

fix: schema uniqueItems misspelled and duplicate test methods #105

Description

@k-rister

Bug Report

Schema and test bugs in multiplex:

1. Misspelled uniqueItems in schema

JSON/schema.json line 62: "uniqeueItems": true should be "uniqueItems". JSON Schema validators silently ignore unknown keywords, so duplicate set items are not being rejected as intended.

2. Duplicate include keys in test fixture

JSON/fio-multi-params-test.json lines 42-43, 53-54: Duplicate "include" keys in the same JSON object. JSON specification says the last value wins, so the first "include": "common-params" is silently dropped — the common params are never included.

3. Duplicate test_multi_params_sets method

tests/test-json.py lines 81 and 181: Two methods named test_multi_params_sets — the first definition is dead code (overridden by the second). One test case is never executed.

4. Duplicate test_create_validation_dict method

tests/test-requirements.py lines 53 and 76: Same duplication pattern — first test is dead code.

5. Identity comparison with empty dict

tests/test-requirements.py lines 56, 84: assert x is not {} always passes because is tests object identity, not equality. A new empty dict {} is never the same object as another. Should be assert x != {}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Queued

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions