1# SPDX-License-Identifier: GPL-2.0
2"""
3Do not affect user-assigned choice value by another choice.
4
5Handling of state flags for choices is complecated.  In old days,
6the defconfig result of a choice could be affected by another choice
7if those choices interact by 'depends on', 'select', etc.
8
9Related Linux commit: fbe98bb9ed3dae23e320c6b113e35f129538d14a
10"""
11
12
13def test(conf):
14    assert conf.defconfig('defconfig') == 0
15    assert conf.config_contains('expected_config')
16