forked from Mirror/pmbootstrap
remove unused args argument (MR 2136)
This commit is contained in:
parent
379991aa62
commit
3f2bd03d33
10 changed files with 38 additions and 38 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue