test: drop args from run (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-05-24 18:25:00 +02:00 committed by Oliver Smith
parent 05c86be11c
commit 52cf0e0fe3
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
14 changed files with 48 additions and 48 deletions

View file

@ -162,10 +162,10 @@ def test_core(args: PmbArgs, monkeypatch):
@pytest.mark.skip_ci
def test_sudo_timer(args: PmbArgs):
pmb.helpers.run.root(args, ["whoami"])
pmb.helpers.run.root(["whoami"])
time.sleep(300)
out = pmb.helpers.run.root(args, ["whoami"])
out = pmb.helpers.run.root(["whoami"])
assert out == 0