[apparmor] [patch] simplify setup_all_tests() call in utils test

Seth Arnold seth.arnold at canonical.com
Thu Mar 5 00:47:35 UTC 2015


On Thu, Mar 05, 2015 at 01:22:47AM +0100, Christian Boltz wrote:
> BTW: If I had noticed earlier that __name__ is always '__main__', 
> I'd have implemented the simplified way from the beginning.

But is it always __main__? The whole point of the guard is that the files
may be called in multiple ways and with different tools, perhaps including
test runners that do different things...

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150304/b87c0d19/attachment.pgp>


More information about the AppArmor mailing list