#236: Self variables -----------------------+---------------------------------------------------- Reporter: kparal | Owner: Type: task | Status: new Priority: major | Milestone: Outdated documentation Component: docs/wiki | Version: 1.0 Keywords: | -----------------------+---------------------------------------------------- Self variables may be set any time - We have recommended to set self.result and similar variables only at the end of the test (because of our old exception handling). It is no longer the case. Self.* variables may be set any time. Also, commit 8e4e894acade8139a3f4ffd9351fa53b3f0e0b46 allowed self.outputs and self.highlights to be lists of strings.
We must fix the docs.
#236: Self variables ---------------------------+------------------------------------------------ Reporter: kparal | Owner: jlaska Type: task | Status: assigned Priority: major | Milestone: Outdated documentation Component: documentation | Resolution: Keywords: | ---------------------------+------------------------------------------------ Changes (by jlaska):
* owner: => jlaska * status: new => assigned
Comment:
I removed the recommendation to set self.result at the end of the test.
Additionally, I added a sentence in the appropriate section to note that self.outputs and self.highlights accept a string, or list of strings. You can review the change at https://fedoraproject.org/w/index.php?title=Writing_AutoQA_Tests&diff=20...
I'll close this out if there are no additional comments
#236: Self variables ---------------------------+------------------------------------------------ Reporter: kparal | Owner: jlaska Type: task | Status: closed Priority: major | Milestone: Outdated documentation Component: documentation | Resolution: fixed Keywords: | ---------------------------+------------------------------------------------ Changes (by kparal):
* status: assigned => closed * resolution: => fixed
Comment:
Thank you, we can close this.
autoqa-devel@lists.fedorahosted.org