remove unused args argument (MR 2130)

This commit is contained in:
bo41 2021-10-16 18:15:54 +02:00 committed by Oliver Smith
parent 896879e89a
commit a8d425554c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
17 changed files with 49 additions and 56 deletions

View file

@ -168,7 +168,7 @@ def test_pull(args, monkeypatch, tmpdir):
assert func(args, name_repo) == 0
def test_is_outdated(args, tmpdir, monkeypatch):
def test_is_outdated(tmpdir, monkeypatch):
func = pmb.helpers.git.is_outdated
# Override time.time(): now is "100"
@ -187,8 +187,8 @@ def test_is_outdated(args, tmpdir, monkeypatch):
# Outdated (date_outdated: 90)
monkeypatch.setattr(pmb.config, "git_repo_outdated", 10)
assert func(args, path) is True
assert func(path) is True
# Not outdated (date_outdated: 89)
monkeypatch.setattr(pmb.config, "git_repo_outdated", 11)
assert func(args, path) is False
assert func(path) is False