diff --git a/utils/test/test-aa-notify.py b/utils/test/test-aa-notify.py index bc2a9dc6f..804d5c66a 100644 --- a/utils/test/test-aa-notify.py +++ b/utils/test/test-aa-notify.py @@ -243,18 +243,18 @@ Filtering options: # # https://github.com/python/cpython/pull/103372 patches = [( - ' -f, --file FILE search FILE for AppArmor messages', - ' -f FILE, --file FILE search FILE for AppArmor messages', + ', --file FILE ', + ' FILE, --file FILE', ), ( - ' -s, --since-days NUM show stats for last NUM days (can be used alone or with', - ' -s NUM, --since-days NUM\n' + ', --since-days NUM show stats for last NUM days (can be used alone or with', + ' NUM, --since-days NUM\n' + ' show stats for last NUM days (can be used alone or with', ), ( - ' -u, --user USER user to drop privileges to when not using sudo', - ' -u USER, --user USER user to drop privileges to when not using sudo', + ', --user USER ', + ' USER, --user USER', ), ( - ' -w, --wait NUM wait NUM seconds before displaying notifications (with', - ' -w NUM, --wait NUM wait NUM seconds before displaying notifications (with', + ', --wait NUM ', + ' NUM, --wait NUM', )] for patch in patches: expected_output_2 = expected_output_2.replace(patch[0], patch[1])