#338: AutoQATest.version - is it needed? -------------------------+-------------------------------------------------- Reporter: kparal | Owner: Type: enhancement | Status: new Priority: trivial | Milestone: Finger Food Component: tests | Keywords: -------------------------+-------------------------------------------------- In all our tests we have code like this:
{{{ class rpmlint(AutoQATest): version = 1 # increment if setup() changes }}}
The question is - is the ''version'' attribute needed and being used at all? I have never seen any difference in behavior, the setup() phase is run every time.
We should have look at autotest documentation or source code whether this is being used and when. If we don't need it, let's remove it from all our tests and templates (the less code the better).
#338: AutoQATest.version - is it needed? -------------------------+-------------------------- Reporter: kparal | Owner: mkrizek Type: enhancement | Status: new Priority: trivial | Milestone: Finger Food Component: autotest | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+-------------------------- Changes (by mkrizek):
* owner: => mkrizek
#338: AutoQATest.version - is it needed? -------------------------+---------------------- Reporter: kparal | Owner: mkrizek Type: enhancement | Status: closed Priority: trivial | Milestone: 0.8.0 Component: autotest | Resolution: fixed Keywords: | Blocked By: Blocking: | -------------------------+---------------------- Changes (by mkrizek):
* status: new => closed * resolution: => fixed * milestone: Finger Food => 0.8.0
Comment:
Fixed in 6cf19ca83439460fa1a44edf45845c6d0d57c399
version attribute was removed from tests since it is applied only to tests that use srcdir. version attribute was however kept in the base test class to avoid possible breakage when autotest could use it.
#338: AutoQATest.version - is it needed? --------------------------+----------------------- Reporter: kparal | Owner: mkrizek Type: enhancement | Status: reopened Priority: trivial | Milestone: 0.8.0 Component: autotest | Resolution: Keywords: missing_docs | Blocked By: Blocking: | --------------------------+----------------------- Changes (by kparal):
* keywords: => missing_docs * status: closed => reopened * resolution: fixed =>
Comment:
We may need to update wiki documentation. Reopening.
#338: AutoQATest.version - is it needed? --------------------------+---------------------- Reporter: kparal | Owner: mkrizek Type: enhancement | Status: closed Priority: trivial | Milestone: 0.8.0 Component: autotest | Resolution: fixed Keywords: missing_docs | Blocked By: Blocking: | --------------------------+---------------------- Changes (by mkrizek):
* status: reopened => closed * resolution: => fixed
Comment:
I don't see any reference regarding this ticket on [http://fedoraproject.org/wiki/Writing_AutoQA_Tests Writing AutoQA Tests]. Closing.
#338: AutoQATest.version - is it needed? -------------------------+---------------------- Reporter: kparal | Owner: mkrizek Type: enhancement | Status: closed Priority: trivial | Milestone: 0.8.0 Component: autotest | Resolution: fixed Keywords: | Blocked By: Blocking: | -------------------------+---------------------- Changes (by mkrizek):
* keywords: missing_docs =>
autoqa-devel@lists.fedorahosted.org