Skip to content

Commit

Permalink
Remove deprecated deepspeech plugin from test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 19, 2024
1 parent cea0b2c commit 3b982aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions requirements/test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
neon-stt-plugin-deepspeech_stream_local~=2.0
neon-stt-plugin-nemo~=0.0,>=0.0.2
neon-stt-plugin-nemo~=0.0,>=0.0.5a4
ovos-stt-plugin-vosk~=0.1
ovos-stt-plugin-server~=0.0.3
pytest
Expand Down
6 changes: 3 additions & 3 deletions tests/api_method_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def setUpClass(cls) -> None:
use_neon_speech(init_config_dir)()

test_config = dict(Configuration())
test_config["stt"]["module"] = "deepspeech_stream_local"
test_config["stt"]["module"] = "neon-stt-plugin-nemo"
test_config["listener"]["VAD"]["module"] = "dummy"
assert test_config["stt"]["module"] == "deepspeech_stream_local"
assert test_config["stt"]["module"] == "neon-stt-plugin-nemo"

ready_event = Event()

Expand All @@ -77,7 +77,7 @@ def _ready():
cls.speech_service = NeonSpeechClient(speech_config=test_config,
daemonic=False, bus=cls.bus,
ready_hook=_ready)
assert cls.speech_service.config["stt"]["module"] == "deepspeech_stream_local"
assert cls.speech_service.config["stt"]["module"] == "neon-stt-plugin-nemo"
cls.speech_service.start()

if not ready_event.wait(120):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_get_stt_from_file(self):
AUDIO_FILE_PATH = os.path.join(os.path.dirname(
os.path.realpath(__file__)), "audio_files")
TEST_CONFIG = use_neon_speech(Configuration)()
TEST_CONFIG["stt"]["module"] = "deepspeech_stream_local"
TEST_CONFIG["stt"]["module"] = "neon-stt-plugin-nemo"
bus = FakeBus()
bus.connected_event = Event()
bus.connected_event.set()
Expand Down

0 comments on commit 3b982aa

Please sign in to comment.