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

Test updates #801

Merged
merged 9 commits into from
Nov 5, 2023
Merged

Test updates #801

merged 9 commits into from
Nov 5, 2023

Conversation

kk7ds
Copy link
Owner

@kk7ds kk7ds commented Oct 31, 2023

This test may have gotten an empty special channel before it makes
the edit. Set it to non-empty when making the edit like it would be
in reality.

@kk7ds kk7ds changed the title Make test_get_set_specials set empty=False Test updates Nov 5, 2023
@kk7ds kk7ds force-pushed the special-empty-test branch 2 times, most recently from b098255 to 7b16f01 Compare November 5, 2023 18:15
kk7ds added 5 commits November 5, 2023 10:17
This test may have gotten an empty special channel before it makes
the edit. Set it to non-empty when making the edit like it would be
in reality.
These radios were massively slowing down the tests because of how
laborious the yaesu bank model is to survey. They should be cached
anyway.
Also adds a test for this which shook out several offenders and a few
mem.extra bugs, which are also fixed here.
@kk7ds kk7ds force-pushed the special-empty-test branch from 7b16f01 to e1ac3ca Compare November 5, 2023 18:18
kk7ds added 4 commits November 5, 2023 10:33
This method should not be implemented by new drivers, so fail the
check if it looks like it is present.
This must be a list (or RadioSettingGroup) of RadioSetting objects.
This is not to allow excluding drivers from tests, but rather to
allow for iterating towards fixes for specific issues. Do not add
new lines to this file without justification.
This makes us include the *structure* of mem.extra in the
assertEqualMems() check to make sure it doesn't change before and after
a modification.
@kk7ds kk7ds force-pushed the special-empty-test branch from e1ac3ca to 6b2a5bd Compare November 5, 2023 18:34
@kk7ds kk7ds merged commit ad73f0b into master Nov 5, 2023
6 checks passed
@kk7ds kk7ds deleted the special-empty-test branch November 5, 2023 18:58
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.

1 participant