__init__.py 465 B

123456789101112131415
  1. """
  2. Hide tristate choice values with mod dependency in y choice.
  3. If tristate choice values depend on symbols set to 'm', they should be
  4. hidden when the choice containing them is changed from 'm' to 'y'
  5. (i.e. exclusive choice).
  6. Related Linux commit: fa64e5f6a35efd5e77d639125d973077ca506074
  7. """
  8. def test(conf):
  9. assert conf.oldaskconfig('config', 'y') == 0
  10. assert conf.config_contains('expected_config')
  11. assert conf.stdout_contains('expected_stdout')