commit:     7336bfac4def94b7a97d9dd121e1b00dc72e9bcd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 13 15:40:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 13 15:44:31 2025 +0000
URL:        https://gitweb.gentoo.org/proj/steve.git/commit/?id=7336bfac

Enable test timeouts if pytest-timeout is available

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 meson.build | 1 -
 pytest.ini  | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index db20496..9e433bb 100644
--- a/meson.build
+++ b/meson.build
@@ -32,7 +32,6 @@ if get_option('server')
       pytest,
       args : [f'@source_root@/test'],
       env : {
-        'PYTEST_DISABLE_PLUGIN_AUTOLOAD': '1',
         'STEVE': steve.path(),
       })
   endif

diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..3efb9bd
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,2 @@
+[pytest]
+timeout = 15

Reply via email to