Skip to content

Commit

Permalink
test_collect_logs: use APPARMOR_PROFILES
Browse files Browse the repository at this point in the history
  • Loading branch information
panlinux committed Jan 1, 2024
1 parent 846a068 commit 431faf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uaclient/cli/tests/test_cli_collect_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def test_collect_logs(
mock.call("/etc/apt/sources.list.d/ubuntu-ros-updates.list"),
mock.call("/var/log/ubuntu-advantage.log"),
mock.call("/var/log/ubuntu-advantage.log.1"),
mock.call("/etc/apparmor.d/ubuntu_pro_apt_news"),
*[mock.call(f) for f in APPARMOR_PROFILES],
]
# APPARMOR_PROFILES are not redacted
assert redact.call_count == is_file_calls + len(user_log_files) - len(
Expand Down

0 comments on commit 431faf9

Please sign in to comment.