Adds the "Given the user's {config} is {value}" step implementation This will patch the configuration with a section from a dictionary that can either be a global (shipped in mycroft/res/{lang}/configurations.json) or shipped with the test definition. The file should be named the same as the feature file but instead of ".feature" the extension should be ".config.json". mycroft/res/text/en-us/configurations.json contains a couple of pre-defined configurations that can be applied - units (metric/imperial) - location (Stockholm) After each scenario any applied patch will be cleared |
||
---|---|---|
.. | ||
integrationtests | ||
unittests | ||
wake_word | ||
Dockerfile.test | ||
__init__.py | ||
util.py |