amazon_dash.tests package¶
Submodules¶
amazon_dash.tests.base module¶
- class amazon_dash.tests.base.ConfigFileMockBase[source]¶
Bases:
FileMockBase
amazon_dash.tests.test_config module¶
- class amazon_dash.tests.test_config.TestOnlyRootWrite(methodName='runTest')[source]¶
Bases:
FileMockBase
,TestCase
amazon_dash.tests.test_discovery module¶
amazon_dash.tests.test_execute module¶
- class amazon_dash.tests.test_execute.TestExecuteCmd(methodName='runTest')[source]¶
Bases:
ExecuteMockBase
,TestCase
- class amazon_dash.tests.test_execute.TestExecuteCmdFunction(methodName='runTest')[source]¶
Bases:
TestCase
- class amazon_dash.tests.test_execute.TestExecuteHomeAssistant(methodName='runTest')[source]¶
Bases:
TestCase
- path = '/api/events/test'¶
- url = 'http://localhost:8123/api/events/test'¶
- class amazon_dash.tests.test_execute.TestExecuteIFTTT(methodName='runTest')[source]¶
Bases:
TestCase
- class amazon_dash.tests.test_execute.TestExecuteOpenHab(methodName='runTest')[source]¶
Bases:
TestCase
- path = '/rest/items/test'¶
- url = 'http://localhost:8080/rest/items/test'¶
- class amazon_dash.tests.test_execute.TestExecuteOverSsh(methodName='runTest')[source]¶
Bases:
TestCase
amazon_dash.tests.test_listener module¶
- class amazon_dash.tests.test_listener.TestDevice(methodName='runTest')[source]¶
Bases:
ExecuteMockBase
,TestCase
- class amazon_dash.tests.test_listener.TestListener(methodName='runTest')[source]¶
Bases:
ConfigFileMockBase
,TestCase
- contents = '# amazon-dash.yml\n# ---------------\nsettings:\n delay: 10\ndevices:\n 0C:47:C9:98:4A:12:\n name: Hero\n user: nekmo\n cmd: spotify\n 44:65:0D:48:FA:88:\n name: Pompadour\n user: nekmo\n cmd: kwrite\n'¶
- class amazon_dash.tests.test_listener.TestTestListener(methodName='runTest')[source]¶
Bases:
ExecuteMockBase
,ConfigFileMockBase
,TestCase
- contents = '# amazon-dash.yml\n# ---------------\nsettings:\n delay: 10\ndevices:\n 0C:47:C9:98:4A:12:\n name: Hero\n user: nekmo\n cmd: spotify\n 44:65:0D:48:FA:88:\n name: Pompadour\n user: nekmo\n cmd: kwrite\n'¶