mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-01 21:45:10 +00:00
test: leave the process and signal tests out of CI and reset the worker prompt handler
This commit is contained in:
@@ -39,7 +39,7 @@ from unshackle.core.config import config
|
||||
from unshackle.core.remote_protocol import SESSION_CREATE_ROUTE, SESSION_ROUTE
|
||||
from unshackle.core.remote_service import RemoteError
|
||||
|
||||
pytestmark = pytest.mark.unit
|
||||
pytestmark = [pytest.mark.unit, pytest.mark.process]
|
||||
|
||||
posix = pytest.mark.skipif(sys.platform == "win32", reason="POSIX signals")
|
||||
SIGNALS = ["CTRL_BREAK_EVENT"] if sys.platform == "win32" else ["SIGHUP", "SIGTERM"]
|
||||
|
||||
@@ -43,7 +43,7 @@ from unshackle.core.remote_protocol import (
|
||||
APIErrorCode,
|
||||
)
|
||||
|
||||
pytestmark = pytest.mark.unit
|
||||
pytestmark = [pytest.mark.unit, pytest.mark.process]
|
||||
|
||||
RELAY = """
|
||||
import asyncio, json, sys
|
||||
|
||||
@@ -52,7 +52,7 @@ from unshackle.core.remote_protocol import (
|
||||
)
|
||||
from unshackle.core.tracks import Audio, Tracks
|
||||
|
||||
pytestmark = [pytest.mark.unit, posix]
|
||||
pytestmark = [pytest.mark.unit, pytest.mark.process, posix]
|
||||
|
||||
BOUND = 8.0
|
||||
WAITING = "Waiting for the remote server"
|
||||
|
||||
@@ -50,7 +50,7 @@ from unshackle.core.remote_protocol import (
|
||||
AuthStatus,
|
||||
)
|
||||
|
||||
pytestmark = pytest.mark.unit
|
||||
pytestmark = [pytest.mark.unit, pytest.mark.process]
|
||||
|
||||
SERVES = {
|
||||
"api-only": ["--api-only", "--remote-only"],
|
||||
|
||||
Reference in New Issue
Block a user