platypush/tests
Fabio Manganiello 41d0725ebf
Fix for #217
The cron scheduler has been made more robust against changes in the
system clock (caused by e.g. DST changes, NTP syncs or manual setting).

A more granular management for cronjob events has been introduced, now
supporting a `TIME_SYNC` event besides the usual `STOP`. When the cron
scheduler detects a system clock drift (i.e. the timestamp offset before
and after a blocking wait is >1 sec) then all the cronjobs are notified
and forced to refresh their state.
2022-04-28 00:57:49 +02:00
..
etc Fix for #217 2022-04-28 00:57:49 +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 Clear log objects on teardown to prevent pytest logging errors 2021-03-06 20:02:25 +01:00
test_cron.py Fix for #217 2022-04-28 00:57:49 +02:00
test_event_parse.py More tests improvements 2021-03-06 17:03:50 +01:00
test_http.py More tests improvements 2021-03-06 17:03:50 +01:00
test_procedure.py Check for file creation and content multiple times with timeout 2021-03-06 17:09:40 +01:00
utils.py Tests improvements 2021-03-06 16:25:37 +01:00