__init__.py 288 B

1234567891011
  1. # SPDX-License-Identifier: GPL-2.0
  2. """
  3. Detect circular variable expansion.
  4. If a recursively expanded variable references itself (eventually),
  5. it should fail with an error message.
  6. """
  7. def test(conf):
  8. assert conf.oldaskconfig() != 0
  9. assert conf.stderr_matches('expected_stderr')