Skip to content

[cuegui] Remove constants test that is not testing constants #1505

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

Conversation

DiegoTavares
Copy link
Collaborator

Remove the unit test test__should_use_default_values which is a recipe for problems when deploying cuegui. The test was supposed to confirm constants defaults are set properly, but the current implementation applies values from cuegui.yaml, which is supposed to be configured by users to match their local requirements. With this, running the unit test locally after configuring cuegui.yaml will always fail.

The test itself didn't accomplish much, so I suggest removing it altogether.

Remove the unit test `test__should_use_default_values` which is a recipe for problems when deploying cuegui. The test was supposed to confirm constants defaults are set properly, but the current implementation applies values from cuegui.yaml, which is supposed to be configured by users to match their local requirements. With this, running the unit test locally after configuring cuegui.yaml will always fail.

The test itself didn't accomplish much, so I suggest removing it altogether.
@DiegoTavares DiegoTavares force-pushed the remove_cuegui_defaults_test branch from 5435274 to 2faaab7 Compare September 6, 2024 17:52
@DiegoTavares DiegoTavares marked this pull request as ready for review September 6, 2024 18:20
@ramonfigueiredo ramonfigueiredo changed the title [cuegui] Remove constants test that is not actually testing contants [cuegui] Remove constants test that is not testing constants Sep 6, 2024
Copy link
Collaborator

@ramonfigueiredo ramonfigueiredo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DiegoTavares

Approved!

@ramonfigueiredo
Copy link
Collaborator

ramonfigueiredo commented Sep 6, 2024

FYI @bcipriano

@DiegoTavares DiegoTavares merged commit 7ebecc0 into AcademySoftwareFoundation:master Sep 6, 2024
13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants