Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UT for repository_service_tuf_api/__init__.py #338

Open
kairoaraujo opened this issue May 2, 2023 · 1 comment
Open

Add UT for repository_service_tuf_api/__init__.py #338

kairoaraujo opened this issue May 2, 2023 · 1 comment

Comments

@kairoaraujo
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants