Re: [apparmor] [patch] AATest: don't limit diff length

2015-04-28 Thread Steve Beattie
On Mon, Apr 27, 2015 at 10:29:44PM +0200, Christian Boltz wrote: Hello, Am Dienstag, 14. April 2015 schrieb Christian Boltz: ... So basically super() is (more or less) useless with py2 :-( - and in case it isn't, it has an annoying syntax. Since nobody objected to the proposal in my

Re: [apparmor] [patch] AATest: don't limit diff length

2015-04-28 Thread Christian Boltz
Hello, Am Dienstag, 28. April 2015 schrieb Steve Beattie: On Mon, Apr 27, 2015 at 10:29:44PM +0200, Christian Boltz wrote: AATest: don't limit diff length Add setUp() to AATest that sets self.maxDiff = None (unlimited). This gives us unlimited array diffs everywhere where AATest is

Re: [apparmor] [patch] AATest: don't limit diff length

2015-04-27 Thread Christian Boltz
Hello, Am Dienstag, 14. April 2015 schrieb Christian Boltz: ... So basically super() is (more or less) useless with py2 :-( - and in case it isn't, it has an annoying syntax. Since nobody objected to the proposal in my previous mail, here's the updated patch that avoids the super() dance:

Re: [apparmor] [patch] AATest: don't limit diff length

2015-04-13 Thread Steve Beattie
On Sat, Apr 11, 2015 at 08:23:09PM +0200, Christian Boltz wrote: this patch adds setUp() to AATest that sets self.maxDiff = None (unlimited). This gives us unlimited array diffs everywhere where AATest is used. === modified file utils/test/common_test.py --- utils/test/common_test.py

Re: [apparmor] [patch] AATest: don't limit diff length

2015-04-13 Thread Christian Boltz
Hello, Am Montag, 13. April 2015 schrieb Steve Beattie: On Sat, Apr 11, 2015 at 08:23:09PM +0200, Christian Boltz wrote: this patch adds setUp() to AATest that sets self.maxDiff = None (unlimited). This gives us unlimited array diffs everywhere where AATest is used. === modified file

[apparmor] [patch] AATest: don't limit diff length

2015-04-11 Thread Christian Boltz
Hello, this patch adds setUp() to AATest that sets self.maxDiff = None (unlimited). This gives us unlimited array diffs everywhere where AATest is used. Also replace several setUp() functions in test-regex_matches.py that just set a class variable with setting the class variable directly. This