From 141d2ee64fbf31df768d7fe68555a20575659865 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 28 Oct 2021 11:04:00 +0200 Subject: [PATCH] tests: Rename test_not_allowed() It only tests for the ActiveProfile authorisation. --- tests/integration-test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration-test.py b/tests/integration-test.py index a073e6e..958aa01 100755 --- a/tests/integration-test.py +++ b/tests/integration-test.py @@ -762,8 +762,8 @@ class Tests(dbusmock.DBusTestCase): self.assertEventually(lambda: self.get_dbus_property('ActiveProfile') == 'power-saver') self.stop_daemon() - def test_not_allowed(self): - '''Check that we get errors when trying to do things that aren't allowed''' + def test_not_allowed_profile(self): + '''Check that we get errors when trying to change a profile and not allowed''' self.obj_polkit.SetAllowed(dbus.Array([], signature='s')) self.start_daemon()