Skip to content

chore: Tighten test names and assertions in test_tools_parts.py #198

@mgmonteleone

Description

@mgmonteleone

Background

From PR #197 code review (LOW priority items).

Items

  1. Rename test_create_with_type_enum — The test passes type="FEATURE" (a string), so the name is misleading. Consider renaming to test_create_with_uppercase_type_string or similar.

  2. Tighten regex assertions in parent_part validation tests — The match="parent_part is required" regex could include the specific part type name (e.g., match="parent_part is required when creating a CAPABILITY") to prevent regressions that might lose type specificity in the error message.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions