diff options
author | Cleber Rosa | 2019-02-18 18:37:23 +0100 |
---|---|---|
committer | Cleber Rosa | 2019-02-22 20:07:01 +0100 |
commit | 9531d26c10613348b53e1846566380be4f15b23c (patch) | |
tree | 684a5b09eb425d5fdf05483da0583d6c74956b9d /tests/requirements.txt | |
parent | Merge remote-tracking branch 'remotes/awilliam/tags/vfio-updates-20190221.0' ... (diff) | |
download | qemu-9531d26c10613348b53e1846566380be4f15b23c.tar.gz qemu-9531d26c10613348b53e1846566380be4f15b23c.tar.xz qemu-9531d26c10613348b53e1846566380be4f15b23c.zip |
Acceptance tests: drop usage of ":avocado: enable"
The Avocado test runner attemps to find its INSTRUMENTED (that is,
Python based tests) in a manner that is as safe as possible to the
user. Different from plain Python unittest, it won't load or
execute test code on an operation such as:
$ avocado list tests/acceptance/
Before version 68.0, the logic implemented to identify INSTRUMENTED
tests would require either the ":avocado: enable" or ":avocado:
recursive" statement as a flag for tests that would not inherit
directly from "avocado.Test". This is not necessary anymore,
and because of that the boiler plate statements can now be removed.
Reference: https://avocado-framework.readthedocs.io/en/68.0/release_notes/68_0.html#users-test-writers
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Caio Carrara <ccarrara@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20190218173723.26120-1-crosa@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Diffstat (limited to 'tests/requirements.txt')
-rw-r--r-- | tests/requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/requirements.txt b/tests/requirements.txt index 64c6e27a94..002ded6a22 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,4 +1,4 @@ # Add Python module requirements, one per line, to be installed # in the tests/venv Python virtual environment. For more info, # refer to: https://pip.pypa.io/en/stable/user_guide/#id1 -avocado-framework==65.0 +avocado-framework==68.0 |