-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
log module unit test coverage (#260)
* Add docstrings and type annotations to `log` module Add test coverage for log rotation Outline test coverage for added log module functions Relates to #2 #239 #233 #250 #253 * Update logs to resolve order-related failure * Add test coverage for `get_logs_config` Refactor variable in `get_logs_config` for clarity Refactor `get_logs_config` for more predictable handling of an empty service name * Add test coverage for `get_log_path` * Add test coverage for `get_log_paths` Update `get_log_paths` to check all log names with `-` normalized to `_` (appeared to be the original intent) Add `enclosure` and `admin` service logs used by Neon and legacy Mycroft/OVOS setups * Add test coverage for `get_available_logs` * Add test coverage for `_monitor_log_level` * Add test of `get_config` call count * Update `get_log_paths` to reference config directly instead of test some well-known values Update unit test for `get_log_paths` * Remove unused `ALL_SERVICES` variable * Remove unused import --------- Co-authored-by: Daniel McKnight <[email protected]>
- Loading branch information
1 parent
d0d5587
commit e4a3ff7
Showing
3 changed files
with
235 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.