Merge pull request 'Feat(modules): display clan.service modules' (#3537) from hsjobeki/clan-core:module-list into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3537
This commit is contained in:
hsjobeki
2025-05-07 15:33:49 +00:00
7 changed files with 107 additions and 84 deletions

View File

@@ -27,10 +27,8 @@ def test_list_modules(test_flake_with_core: FlakeForTest) -> None:
base_path = test_flake_with_core.path
modules_info = list_modules(str(base_path))
assert len(modules_info.items()) > 1
# Random test for those two modules
assert "borgbackup" in modules_info
assert "syncthing" in modules_info
assert "localModules" in modules_info
assert "modulesPerSource" in modules_info
@pytest.mark.impure