Skip to content

Commit 630d398

Browse files
committed
test: Skip test_notification_daemon with AppArmor profile
Ubuntu 25.10 introduces an AppArmor profile for notify-send, which only allows it to talk to the real daemon. https://launchpad.net/bugs/2121092
1 parent 54aa663 commit 630d398

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_notification_daemon.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929

3030
@unittest.skipUnless(notify_send_version, "notify-send not installed")
31+
@unittest.skipIf(os.path.exists('/etc/apparmor.d/notify-send'), "AppArmor profile for notify-send active")
3132
class TestNotificationDaemon(dbusmock.DBusTestCase):
3233
"""Test mocking notification-daemon"""
3334

0 commit comments

Comments
 (0)