aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.py
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-08-25 09:19:18 +0200
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 09:19:18 +0200
commitd1862e0f398ac5c2760e5eb2f444b781b9b04089 (patch)
treef36a50e4f3bf120d2eee87ead3b211af359742d5 /tests/plugin_tests.py
parenta215548e5cc8074d9f8e5467ad20d6ec9b4de761 (diff)
downloadsos-d1862e0f398ac5c2760e5eb2f444b781b9b04089.tar.gz
[sosreport] grab logs since date
Adds a --since switch that takes a date as an argument. This switch will skip the archive files with a mtime older than the date. Also, --since affects journalctl execution for --all. Resolves: #1678 Signed-off-by: David Vallee Delisle <dvd@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r--tests/plugin_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index e81575cf..b8760429 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -93,6 +93,7 @@ class EnablerPlugin(Plugin):
class MockOptions(object):
all_logs = False
dry_run = False
+ since = None
log_size = 25
allow_system_changes = False