Skip to content

Provide a generic slugify function in checkbox-support #1511

@pieqq

Description

@pieqq

Enhancement Proposal

Over time, a lot of Checkbox tests have developed their own "slugify" function to deal with naming issues:

  • checkbox-support/checkbox_support/parsers/udevadm.py
  • providers/resource/bin/graphics_card_resource.py
  • providers/resource/bin/snapd_resource.py

While raising #1510, we found out it would be better to have a single slugify function that could be called from everywhere it's required.

This function should be located in checkbox-support/checkbox_support/helpers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions