Skip to content

Commit

Permalink
Remove CI skip for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
applebym committed Feb 5, 2024
1 parent 4794fd9 commit 92f1246
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
from elevenlabs import generate, voices, Voice, VoiceSettings, play, stream


@pytest.mark.skip(reason="skip in ci")
def test_voices() -> None:
print("Voices are...", voices())


@pytest.mark.skip(reason="skip in ci")
def test_generate() -> None:
audio = generate(
text="Hello! My name is Bella.",
Expand All @@ -19,7 +17,6 @@ def test_generate() -> None:
)
play(audio) # type: ignore

@pytest.mark.skip(reason="skip in ci")
def test_generate_stream() -> None:
def text_stream():
yield "Hi there, I'm Eleven "
Expand All @@ -34,7 +31,6 @@ def text_stream():

stream(audio_stream) # type: ignore

@pytest.mark.skip(reason="skip in ci")
def test_generate_with_settings() -> None:
from elevenlabs import Voice, VoiceSettings, generate

Expand Down
2 changes: 0 additions & 2 deletions tests/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest


@pytest.mark.skip(reason="skip in ci")
def test_history():
from elevenlabs import History, HistoryItem
from elevenlabs.client import ElevenLabs
Expand All @@ -16,7 +15,6 @@ def test_history():
assert isinstance(history, History)


@pytest.mark.skip(reason="skip in ci")
def test_history_item_delete():
import time
from random import randint
Expand Down
1 change: 0 additions & 1 deletion tests/test_model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import pytest

@pytest.mark.skip(reason="skip in ci")
def test_model():
from elevenlabs import Model
from elevenlabs.client import ElevenLabs
Expand Down
4 changes: 0 additions & 4 deletions tests/test_voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest


@pytest.mark.skip(reason="skip in ci")
def test_voice_from_id():
from elevenlabs import Voice, VoiceSettings

Expand All @@ -18,7 +17,6 @@ def test_voice_from_id():
assert isinstance(voice.settings, VoiceSettings)


@pytest.mark.skip(reason="skip in ci")
def test_voice_clone():
from elevenlabs import Voice, clone, generate, play

Expand Down Expand Up @@ -54,7 +52,6 @@ def test_voice_clone():
play(audio)


@pytest.mark.skip(reason="skip in ci")
def test_voice_design():
from elevenlabs import Accent, Age, Gender, Voice, generate, play
from elevenlabs.client import ElevenLabs
Expand All @@ -79,7 +76,6 @@ def test_voice_design():



@pytest.mark.skip(reason="skip in ci")
def test_voices():
from elevenlabs import voices, Voice

Expand Down

0 comments on commit 92f1246

Please sign in to comment.