1# SPDX-License-Identifier: GPL-2.0 2""" 3Basic choice tests. 4""" 5 6 7def test_oldask0(conf): 8 assert conf.oldaskconfig() == 0 9 assert conf.stdout_contains('oldask0_expected_stdout') 10 11 12def test_allyes(conf): 13 assert conf.allyesconfig() == 0 14 assert conf.config_contains('allyes_expected_config') 15 16 17def test_allmod(conf): 18 assert conf.allmodconfig() == 0 19 assert conf.config_contains('allmod_expected_config') 20 21 22def test_allno(conf): 23 assert conf.allnoconfig() == 0 24 assert conf.config_contains('allno_expected_config') 25 26 27def test_alldef(conf): 28 assert conf.alldefconfig() == 0 29 assert conf.config_contains('alldef_expected_config') 30