waagent: add passthru.tests

This commit is contained in:
codgician 2024-12-07 23:34:00 +08:00
parent 0d7c515332
commit 2e1477ddc8
No known key found for this signature in database

View file

@ -5,6 +5,7 @@
python3,
bash,
gitUpdater,
nixosTests,
}:
let
@ -64,8 +65,13 @@ python.pkgs.buildPythonApplication rec {
dontWrapPythonPrograms = false;
passthru.updateScript = gitUpdater {
rev-prefix = "v";
passthru = {
tests = {
inherit (nixosTests) waagent;
};
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = with lib; {