Files

15 lines
683 B
Python

"""Test runs use the stock wake phrases, not whatever a developer happens to
have in the project's `.env`. The speech tests are written against the
defaults; a local `WAKE_WORDS=...` that narrows them would fail the suite for
a reason that isn't in the code. Environment variables set by the shell still
win, and everything else in `.env` is left alone."""
import os
os.environ.setdefault("WAKE_WORDS", (
"hey bolt,bolt,thunderbolt,hey thunderbolt,ok bolt,okay bolt,yo bolt,hi bolt,"
"hey assistant,ok assistant,okay assistant,"
"hey bolts,hey volt,hey bold,hey boat,okay volt,hey thunder bolt,thunder bolt"
))
os.environ.setdefault("ANYWHERE_WAKE_WORDS", "assistant")