tests: Ensure that privileged daemon is not used during tests

- Fallback to sudo based privileged implementation. Privileged daemon tests are
still to be implemented.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
Sunil Mohan Adapa authored and Joseph Nuthalapati committed 2025-08-16 22:42:15 +05:30
1 parent 213d0330fd
commit a70611a2e9
3 files changed
+16 -1

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ from plinth.actions import privileged, secret_str
actions_name = 'actions'
pytestmark = pytest.mark.usefixtures('no_privileged_server')
@pytest.fixture(name='popen')
def fixture_popen():