platypush/tests
Fabio Manganiello 37dcaba7a1
Refactored structure of main application and startup scripts.
The main application class has been moved from __init__ to the app
module.

__init__ will contain instead the relevant global variables and the
modules and objects exposed to external integrations - such as
`get_plugin` and `get_backend`, or the `main` itself.

This will make future integrations much easier - the global __init__
doesn't contain any business logic now, it can import anything without
fearing circular dependencies, and it can limit its exposed objects to
those that we want to expose to 3rd-party integrations and scripts.

It will also make it easier to extend the main entry point with
additional logic - such as a supervisor or an embedded Redis server.
2023-07-23 23:12:36 +02:00
..
etc Added use_werkzeug_server option to backend.http. 2023-05-20 15:26:58 +02:00
__init__.py Refactored tests to use pytest with fixtures instead of unittest.TestCase 2021-03-06 16:21:28 +01:00
__main__.py Added tests/__main__.py entry point to run all the tests 2021-03-06 20:13:38 +01:00
conftest.py Refactored structure of main application and startup scripts. 2023-07-23 23:12:36 +02:00
test_cron.py Removed test_cron_execution_upon_system_clock_change. 2023-05-04 00:11:11 +02:00
test_event_parse.py An AssistantEvent should not fail initialization if the assistant integration isn't found. 2023-05-04 00:28:50 +02:00
test_http.py Fixed tests 2022-10-08 15:18:26 +02:00
test_procedure.py Check for file creation and content multiple times with timeout 2021-03-06 17:09:40 +01:00
utils.py black fixes 2023-03-31 14:31:38 +02:00