GNU Linux-libre 4.19.245-gnu1
[releases.git] / scripts / kconfig / tests / new_choice_with_dep / __init__.py
1 """
2 Ask new choice values when they become visible.
3
4 If new choice values are added with new dependency, and they become
5 visible during user configuration, oldconfig should recognize them
6 as (NEW), and ask the user for choice.
7
8 Related Linux commit: 5d09598d488f081e3be23f885ed65cbbe2d073b5
9 """
10
11
12 def test(conf):
13     assert conf.oldconfig('config', 'y') == 0
14     assert conf.stdout_contains('expected_stdout')