change conftest scope to session
@@ -46,7 +46,7 @@ def iredis_client():
return Client("127.0.0.1", "6379", None)
-@pytest.fixture(scope='module')
+@pytest.fixture(scope='session')
def local_process():
"""Open iredis subprocess to test"""
child = pexpect.spawn("iredis -n 15", timeout=TIMEOUT)
