You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the "one file per applet" paradigm was nice for a while, we have outgrown it, and the new directory structure reflects that already. Having tests in the main applet file breaks test discovery with just about any Python test framework. We should have tests in the glasgow/applet/<category>/<name>/test.py, next to glasgow/applet/<category>/<name>/__init__.py which contains the applet itself.
The text was updated successfully, but these errors were encountered:
Note that this will need some additional work to unbreak glasgow test, which I will do once the mechanical part of this issue (the conversion to multi-file structure) is done.
wanda-phi
added a commit
to wanda-phi/glasgow
that referenced
this issue
Oct 20, 2023
While the "one file per applet" paradigm was nice for a while, we have outgrown it, and the new directory structure reflects that already. Having tests in the main applet file breaks test discovery with just about any Python test framework. We should have tests in the
glasgow/applet/<category>/<name>/test.py
, next toglasgow/applet/<category>/<name>/__init__.py
which contains the applet itself.The text was updated successfully, but these errors were encountered: