Re: [Avocado-devel] correlating xunit output to job-results

2018-11-28 Thread Lukáš Doktor
Dne 28. 11. 18 v 15:35 Brian J. Murrell napsal(a): > On Mon, 2018-11-26 at 17:03 +0100, Lukáš Doktor wrote: >> >> This is a new information. So are you actually looking for job-- >> MM-DDTHH.MM-UID only, or are you looking for test-name => test- >> output-dir mapping? > > I'm looking to

Re: [Avocado-devel] correlating xunit output to job-results

2018-11-28 Thread Brian J. Murrell
On Mon, 2018-11-26 at 17:03 +0100, Lukáš Doktor wrote: > > This is a new information. So are you actually looking for job-- > MM-DDTHH.MM-UID only, or are you looking for test-name => test- > output-dir mapping? I'm looking to correlate a given display of one of mnay xunit test results in

Re: [Avocado-devel] initializing class attributes

2018-11-28 Thread Cleber Rosa
On 11/28/18 12:30 PM, Brian J. Murrell wrote: > Any opinions on the preference of initializing Test class attributes in > setUp() vs. the more traditional __init__()? > > I.e. if my tearDown() is: > > def tearDown(self): > print self.foo > > self.foo needs to be initialized. Typically

[Avocado-devel] initializing class attributes

2018-11-28 Thread Brian J. Murrell
Any opinions on the preference of initializing Test class attributes in setUp() vs. the more traditional __init__()? I.e. if my tearDown() is: def tearDown(self): print self.foo self.foo needs to be initialized. Typically in python objects, this is done in __init__(), but given that