<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">I am not familiar with the new pySim API, but it feels like you're re-inventing Python's unittest framework in this change.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I would be careful with such statements.  The point here is that each file class defines _data_, and not code.  Then there is a shared function that excudes a common unit test with the data specified in the file-specific class.</p><p style="white-space: pre-wrap; word-wrap: break-word;">At least I know python unittest only in he following way:</p><ul><li>specify _code_ for each class to test</li><li>that test is not with the implementation bu in a separate file</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">If you are aware of python unittest implementing a data-driven approach with 'test data within implementation', please show some pointers, thanks.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/24012">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/24012">change 24012</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/24012"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I02d884547f4982e0b8ed7ef21b8cda75237942e2 </div>
<div style="display:none"> Gerrit-Change-Number: 24012 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 04 May 2021 16:35:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>