[apparmor] [patch] Move str_to_mode() tests to test-aamode.py
Seth Arnold
seth.arnold at canonical.com
Tue Oct 11 20:25:30 UTC 2016
On Tue, Oct 11, 2016 at 01:12:27PM -0700, Steve Beattie wrote:
> The AATest class in the common_test.py that AamodeTest_str_to_mode is
> subsclassing from causes it to be used. Basically, the way it works is
> you define a 'tests' array, a _run_test() method, and make a call to
> setup_all_loops() in your test script, and test methods will be
> generated based on the array entries being passed to _run_test().
Aha, thanks for the excellent introduction. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161011/dfdef2a1/attachment.pgp>
More information about the AppArmor
mailing list