Recursive dependency should be detected and warned. Test this. This indirectly tests the line number increments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
10 lines
178 B
Python
10 lines
178 B
Python
"""
|
|
Warn recursive inclusion.
|
|
|
|
Recursive dependency should be warned.
|
|
"""
|
|
|
|
def test(conf):
|
|
assert conf.oldaskconfig() == 0
|
|
assert conf.stderr_contains('expected_stderr')
|