diff options
author | Aditya Gupta <adityag@linux.ibm.com> | 2025-03-06 11:37:06 +0530 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-03-07 09:24:00 +0100 |
commit | e7f091d0c1750a57fd7ab39db50d1aae1c7647b0 (patch) | |
tree | a2f45150d5e3be7851029ac74407c93ec28ab73b | |
parent | 4dc11ee468df3ffdaa312a16b4ded3378133bb39 (diff) | |
download | qemu-e7f091d0c1750a57fd7ab39db50d1aae1c7647b0.zip qemu-e7f091d0c1750a57fd7ab39db50d1aae1c7647b0.tar.gz qemu-e7f091d0c1750a57fd7ab39db50d1aae1c7647b0.tar.bz2 |
doc: add missing 'Asset' type in function test doc
Seems 'Asset' got missed in the documentation by mistake.
Also fix the one spellcheck issue pointed by spellcheck
Signed-off-by: Aditya Gupta <adityag@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250306060706.1982992-1-adityag@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | docs/devel/testing/functional.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst index bcb5509..a9fa45e 100644 --- a/docs/devel/testing/functional.rst +++ b/docs/devel/testing/functional.rst @@ -251,7 +251,7 @@ Many functional tests download assets (e.g. Linux kernels, initrds, firmware images, etc.) from the internet to be able to run tests with them. This imposes additional challenges to the test framework. -First there is the the problem that some people might not have an +First there is the problem that some people might not have an unconstrained internet connection, so such tests should not be run by default when running ``make check``. To accomplish this situation, the tests that download files should only be added to the "thorough" @@ -274,7 +274,9 @@ the tests are run. This pre-caching is done with the qemu_test.Asset class. To use it in your test, declare an asset in your test class with its URL and SHA256 checksum like this:: - ASSET_somename = ( + from qemu_test import Asset + + ASSET_somename = Asset( ('https://www.qemu.org/assets/images/qemu_head_200.png'), '34b74cad46ea28a2966c1d04e102510daf1fd73e6582b6b74523940d5da029dd') |