On Tue, Jun 11, 2019 at 03:57:23PM +0100, Burton, Ross wrote: > On Tue, 11 Jun 2019 at 15:56, Quentin Schulz > <quentin.sch...@streamunlimited.com> wrote: > > Also, I factored out everything into a function that shouldn't be run as > > a test but when doing: > > oe-selftest --run-tests incompatible_lic.IncompatibleLicenseTests > > it tries to run the function and thus fails the test. Is that okay? if > > not, how do you usually proceed? > > So Python unittest's behaviour is that any function called test_*() is > a test case and is executed, so just don't name any helper functions > like this test_*. >
Ah, that's what I was missing. Thanks. Quentin -- StreamUnlimited Engineering GmbH High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, 1100 Vienna, Austria quentin.sch...@streamunlimited.com, www.streamunlimited.com -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core