forked from Mirror/pmbootstrap
test: drop args from run (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
05c86be11c
commit
52cf0e0fe3
14 changed files with 48 additions and 48 deletions
|
@ -26,7 +26,7 @@ def args(request):
|
|||
def test_file_is_older_than(args: PmbArgs, tmpdir):
|
||||
# Create a file last modified 10s ago
|
||||
tempfile = str(tmpdir) + "/test"
|
||||
pmb.helpers.run.user(args, ["touch", tempfile])
|
||||
pmb.helpers.run.user(["touch", tempfile])
|
||||
past = time.time() - 10
|
||||
os.utime(tempfile, (-1, past))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue