Files
Joel Brobecker 6f3ee523bf Port the testsuite to pytest and Python 3.x
This commit introduces an entirely new testsuite framework based on
pytest, and then converts all our existing testcases to this new
framework.

Note: One helpful way to review this patch is to use "git show -w";
      For the most part, this patch just changes the indentation level
      of existing code. By asking "git show" to hide changes which only
      involve changes in spaces, the reviewer is left with the "essence"
      of the change.

Note: There are some testcases where the content transfer encoding changes
      from 8bit to base64. This is an enhancement brought by using a more
      recent version of Python, and in particular of the email support
      classes it provides.

Note: There are commits where the "[Errno 2] No such file or directory"
      error message now includes the path that's missing. E.g:
        - cannot_find_style_checker
        - update_hook_not_found

Still left to do:

  - Remove the old testsuite framework;
  - Remove the py2-only code;
  - Remove references to __future__;

These will be taken care of via separate commits (for ease of review).

Change-Id: Ib44bda6d5e12be44f73c7ea65d6f6e610efb872d
TN: U530-006
2021-10-19 13:17:32 -07:00
..