23 lines
512 B
Python

import pytest
import os
@pytest.fixture
def codex_node_1_url() -> str:
return f"http://{os.environ.get('CODEX_NODE_1', 'localhost')}:6891"
@pytest.fixture
def codex_node_2_url() -> str:
return f"http://{os.environ.get('CODEX_NODE_2', 'localhost')}:6893"
@pytest.fixture
def codex_agent_1_url() -> str:
return f"http://{os.environ.get('CODEX_AGENT_1', 'localhost')}:9000"
@pytest.fixture
def codex_agent_2_url() -> str:
return f"http://{os.environ.get('CODEX_AGENT_2', 'localhost')}:9001"