Skip to content

Add UT for repository_service_tuf_api/__init__.py #338

@kairoaraujo

Description

@kairoaraujo

Add UT to the parts that are uncovered by our current unit tests.

There is a complication here because the settings and secret_settings are initiated directly and loaded when the app.py is called.

We might be required to move it to functions as we did on RSTUF Worker, and it will give us more flexibility to mock and use pretend.

Originally posted by @kairoaraujo in #329 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions