[apparmor] [patch 1/8] utils tests: assign regex function at test setup

Christian Boltz apparmor at cboltz.de
Wed Sep 3 11:41:06 UTC 2014


Hello,

sorry for the delay - we had our wine festival from friday till monday, 
and still have to do some cleanup ;-)

Am Donnerstag, 28. August 2014 schrieb Steve Beattie:
> This patch moves the assignment of the regex function into the
> unittest setUp() function rather than at script load time. If for
> some reason the python utils library does not define the relevant
> function, without this patch the script fails entirely; with it, each
> individual test class that depends on the missing regex will fail
> each test case.

Looks like a good idea to make finding errors easier.

Acked-by: Christian Boltz <apparmor at cboltz.de>


Regards,

Christian Boltz
-- 
Hmmm I think I hear steve yelling something about a unit test,
but he is on vacation so I'll just ignore him for now ;)
[John Johansen in apparmor]




More information about the AppArmor mailing list