mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2025-12-30 10:49:46 -06:00
Fix unit tests on mac
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import pytest
|
||||
import fastwsgi
|
||||
import time
|
||||
from multiprocessing import Process
|
||||
from multiprocessing import Process, set_start_method
|
||||
|
||||
|
||||
HOST = "127.0.0.1"
|
||||
@@ -24,4 +24,5 @@ class ServerProcess:
|
||||
|
||||
@pytest.fixture(autouse=True, scope="session")
|
||||
def server_process():
|
||||
set_start_method("fork")
|
||||
return ServerProcess
|
||||
|
||||
Reference in New Issue
Block a user