Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
  • v1.8.3
21 results

utils.py

Blame
    • Rafael Guterres Jeffman's avatar
      8ab3aa06
      pytest tests: Enhanced assertion for check_* methods. · 8ab3aa06
      Rafael Guterres Jeffman authored
      Checking if some output is present or absent from standard streams was
      done by simple string searching. Due to recent changes in FreeIPA, this
      search is not effective due to capitalization differences in boolean
      values output. Changing the string searching to regular expression
      searches fixes this behavior for current and previous versions of
      FreeIPA.
      
      This patch also adds more information on the assert tests in case of an
      error, so that it is easier to understand why the test failed.
      8ab3aa06
      History
      pytest tests: Enhanced assertion for check_* methods.
      Rafael Guterres Jeffman authored
      Checking if some output is present or absent from standard streams was
      done by simple string searching. Due to recent changes in FreeIPA, this
      search is not effective due to capitalization differences in boolean
      values output. Changing the string searching to regular expression
      searches fixes this behavior for current and previous versions of
      FreeIPA.
      
      This patch also adds more information on the assert tests in case of an
      error, so that it is easier to understand why the test failed.