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

Re: Correctly parse a deeper menu structure #133

Merged
merged 1 commit into from Jun 27, 2023
Merged

Re: Correctly parse a deeper menu structure #133

merged 1 commit into from Jun 27, 2023

Conversation

kytta
Copy link
Member

@kytta kytta commented Jun 27, 2023

When MENU_SELECT_PARENTS is set to True, we want to set all elements up to the root to selected.

Closes #63 (this is the same commit applied to the newer code)

Co-authored-by: Andor Goetzendorff ruxkor@hotmail.com

When `MENU_SELECT_PARENTS` is set to `True`, we want to set all elements up to the root to `selected`.
@kytta kytta self-assigned this Jun 27, 2023
@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #133 (07d87ba) into master (e89ed4b) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   90.93%   91.07%   +0.13%     
==========================================
  Files           6        6              
  Lines         320      325       +5     
  Branches       73       75       +2     
==========================================
+ Hits          291      296       +5     
  Misses         13       13              
  Partials       16       16              
Impacted Files Coverage Δ
simple_menu/menu.py 91.40% <100.00%> (+0.34%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kytta
Copy link
Member Author

kytta commented Jun 27, 2023

It seems like the tests already expect this behaviour. No idea why it didn't work before. I'll merge now

@kytta kytta merged commit 0aa0e09 into master Jun 27, 2023
22 checks passed
@kytta kytta deleted the ruxkor/master branch June 27, 2023 21:32
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.

None yet

2 participants