9 lines · 222 B · Python
RawDownload
# SPDX-License-Identifier: GPL-2.0"""Built-in function tests.""" def test(conf):    assert conf.oldaskconfig() == 0    assert conf.stdout_contains('expected_stdout')    assert conf.stderr_matches('expected_stderr')