On 16/03/2020 21:49, Amar Takhar wrote:

On 2020-03-16 21:21 +0100, Sebastian Huber wrote:
https://lists.rtems.org/pipermail/devel/2020-March/058289.html
I converted an example test from unittest to pytest:
There's no reason to use classes here you should use simple functions.

Classes are only useful if you want to maintain a state using a setup or
teardown.  Look at test_macro.py for an example of this.
So you would not use test classes to group tests for a specific class?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to