dumb-init/tests/conftest.py

14 lines
263 B
Python
Raw Normal View History

2015-09-12 01:57:22 +03:00
import os
import pytest
@pytest.fixture(params=['1', '0'])
def both_debug_modes(request):
os.environ['DUMB_INIT_DEBUG'] = request.param
@pytest.fixture(params=['1', '0'])
def both_setsid_modes(request):
os.environ['DUMB_INIT_SETSID'] = request.param