Re: [PATCH v2 17/41] test/py: Relax the naming rules for unit tests

2021-11-24 Thread Simon Glass
At present the collection function used by pytest is quite strict on the naming of the functions it detects. In particular it requires the name of the test to be repeated in the function name. This is not enforced anywhere else, but instead the tests are silently omitted from the pytest run. This

[PATCH v2 17/41] test/py: Relax the naming rules for unit tests

2021-10-23 Thread Simon Glass
At present the collection function used by pytest is quite strict on the naming of the functions it detects. In particular it requires the name of the test to be repeated in the function name. This is not enforced anywhere else, but instead the tests are silently omitted from the pytest run. This