commit: a621e10e998eee127affb7bb2ba0da67aad751e7 Author: David Palao <david.palao <AT> gmail <DOT> com> AuthorDate: Fri Jul 7 14:58:00 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Oct 30 03:14:23 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a621e10e
pytest: Add some markers: ft, unit and stress Add some markers: ft, unit and stress. And mark test_simple.test_simple_emerge with ft, such that those tests can be triggered with:: pytest -m ft Signed-off-by: David Palao <david.palao <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> lib/portage/tests/emerge/test_simple.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/portage/tests/emerge/test_simple.py b/lib/portage/tests/emerge/test_simple.py index 700ddd9764..692c6a9cb4 100644 --- a/lib/portage/tests/emerge/test_simple.py +++ b/lib/portage/tests/emerge/test_simple.py @@ -3,6 +3,8 @@ import subprocess +import pytest + import portage from portage import os from portage.const import ( @@ -31,6 +33,7 @@ _METADATA_XML_FILES = ( ) [email protected] def test_simple_emerge(async_loop, playground, binhost, simple_command): async_loop.run_until_complete( asyncio.ensure_future(
