Skip to content

Commit f986098

Browse files
committed
use setup_module()
1 parent a529b38 commit f986098

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/src/test/python/test_mirror_incoming_retval.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
from opengrok_tools.utils.exitvals import CONTINUE_EXITVAL, SUCCESS_EXITVAL
3838

3939

40-
@pytest.fixture(scope="module", autouse=True)
41-
def setup():
40+
def setup_module(module):
4241
# The default has changed for python 3.8 (see https://github.com/oracle/opengrok/issues/3296).
4342
# Because of the mocking we need to use the "fork" type to propagate all mocks to the
4443
# processes spawned by mirror command

0 commit comments

Comments
 (0)