remove unused args argument (MR 2136)

This commit is contained in:
BO41 2021-11-09 12:54:07 +01:00 committed by Oliver Smith
parent 379991aa62
commit 3f2bd03d33
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
10 changed files with 38 additions and 38 deletions

View file

@ -56,12 +56,12 @@ def args_patched(monkeypatch, argv):
return pmb.parse.arguments()
def test_skip_already_built(args):
def test_skip_already_built():
func = pmb.build._package.skip_already_built
assert pmb.helpers.other.cache["built"] == {}
assert func(args, "test-package", "armhf") is False
assert func("test-package", "armhf") is False
assert pmb.helpers.other.cache["built"] == {"armhf": ["test-package"]}
assert func(args, "test-package", "armhf") is True
assert func("test-package", "armhf") is True
def test_get_apkbuild(args):