<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 16/03/2020 21:49, Amar Takhar wrote:<br>
</p>
<blockquote type="cite"
cite="mid:20200316204956.GA54255@darkbeer.org">
<pre class="moz-quote-pre" wrap="">On 2020-03-16 21:21 +0100, Sebastian Huber wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-freetext" href="https://lists.rtems.org/pipermail/devel/2020-March/058289.html" moz-do-not-send="true">https://lists.rtems.org/pipermail/devel/2020-March/058289.html</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">I converted an example test from unittest to pytest:
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">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.</pre>
</blockquote>
So you would not use test classes to group tests for a specific
class?<br>
</body>
</html>