2018-12-18 20:13:35 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2018-03-13 17:12:05 +08:00
|
|
|
"""
|
|
|
|
Create submenu for symbols that depend on the preceding one.
|
|
|
|
|
|
|
|
If a symbols has dependency on the preceding symbol, the menu entry
|
|
|
|
should become the submenu of the preceding one, and displayed with
|
|
|
|
deeper indentation.
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
def test(conf):
|
|
|
|
assert conf.oldaskconfig() == 0
|
|
|
|
assert conf.stdout_contains('expected_stdout')
|