Skip to content

Commit

Permalink
WIP: run tests without decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Feb 24, 2025
1 parent 61aabfc commit 9df39ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/agentchat/realtime_agent/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
from pytest import FixtureRequest

from autogen.agentchat.realtime.experimental import RealtimeAgent, RealtimeObserver, WebSocketAudioAdapter
from autogen.import_utils import skip_on_missing_imports

# from autogen.import_utils import skip_on_missing_imports
from ...conftest import Credentials
from .realtime_test_utils import text_to_speech, trace

logger = getLogger(__name__)


@skip_on_missing_imports("websockets", "websockets")
# @skip_on_missing_imports("websockets", "websockets")
class TestE2E:
async def _test_e2e(self, credentials_llm: Credentials, credentials_openai: Credentials) -> None:
"""End-to-end test for the RealtimeAgent.
Expand Down
5 changes: 3 additions & 2 deletions test/agentchat/realtime_agent/test_swarm_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
from autogen import ConversableAgent
from autogen.agentchat.realtime.experimental import RealtimeAgent, RealtimeObserver, WebSocketAudioAdapter
from autogen.agentchat.realtime.experimental.realtime_swarm import register_swarm
from autogen.import_utils import skip_on_missing_imports

# from autogen.import_utils import skip_on_missing_imports
from autogen.tools.dependency_injection import Field as AG2Field

from ...conftest import Credentials
Expand All @@ -25,7 +26,7 @@
logger = getLogger(__name__)


@skip_on_missing_imports("websockets", "websockets")
# @skip_on_missing_imports("websockets", "websockets")
class TestSwarmE2E:
async def _test_e2e(self, credentials_llm_realtime: Credentials, credentials_gpt_4o_mini: Credentials) -> None:
"""End-to-end test for the RealtimeAgent.
Expand Down

0 comments on commit 9df39ea

Please sign in to comment.