1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-14 03:49:48 +03:00

fix tests

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
This commit is contained in:
Casey Connolly 2025-05-26 18:42:22 +02:00
parent 88afc10e95
commit e44ef84b4b
9 changed files with 27 additions and 17 deletions

View file

@ -22,7 +22,7 @@ def test_pkgrepo_pmaports(pmaports, monkeypatch):
pkgrepo_paths.cache_disable()
pkgrepo_default_path.cache_disable()
paths = pkgrepo_paths()
paths = pkgrepo_paths(with_extra_repos="disabled")
print(f"[master] pkgrepo_paths: {paths}")
assert len(paths) == 1
assert "pmaports" in paths[0].name
@ -32,9 +32,6 @@ def test_pkgrepo_pmaports(pmaports, monkeypatch):
assert default_path.name == "pmaports"
# Test extra-repos
paths = pkgrepo_paths(with_extra_repos="disabled")
assert len(paths) == 1
paths = pkgrepo_paths(with_extra_repos="enabled")
assert len(paths) == 2