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

unittests for new settings defaults: msg-signing/qr-brightness-tips #466

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

jdlcdl
Copy link

@jdlcdl jdlcdl commented Sep 1, 2023

Adds 2 unit-tests for new settings defaults in 0.7.0.

The tests/test_controller.py tests all settings defaults as its last test. It's extra maintenance, but it's also helpful for us not to accidentally change defaults without also updating the unit-test, also helpful for keeping settings-generator in line with seedsigner settings defaults.

@kdmukai
Copy link
Contributor

kdmukai commented Sep 2, 2023

The test in general feels just barely useful enough to offset its DRY offenses, but that's not a critique of this PR.

Since the test is there, ya, let's at least update it to the current settings options. But maybe a simpler test (in a later PR) that just spot-checks different types of defaults would be sufficient going forward.

ACK tested.

@newtonick
Copy link
Collaborator

ACK

@newtonick newtonick merged commit facf7ef into SeedSigner:dev Sep 15, 2023
@jdlcdl jdlcdl deleted the new_settings_defaults_tests branch September 16, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged Not Yet Released
Development

Successfully merging this pull request may close these issues.

3 participants