forked from wiliamsouza/python-systemd
/
TODO
23 lines (17 loc) · 723 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TODO
====
CODE
====
* Pass some methods(__properties) to a more generic class(systemd.core.Core).
* __properties methods of systemd.job.Job is with error.
* Improve the exceptions mechanism.
TESTS
=====
* Improve tests, some tests like start, stop, reload and restart should check
the timestamp or other property to ensure the unit was correct started,
stoped, reloaded or restarted.
* Tests like get_unit_by_pid and get_unit need a existent PID or unit to be
tested, how to ensure the tests always get a valid PID and unit.
* How to test functions like reexecute, reload, reset_failed, reset_failed_unit,
set_environment, start_unit_replace, subscribe, unset_environment, reexecute
unsubscribe,