-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixosTests.taskserver: Port to python #93413
Conversation
Wow this is one of the longer nixos tests. Thank you for porting this! |
75b010c
to
6b1c347
Compare
@GrahamcOfBorg test taskserver |
pass | ||
|
||
|
||
def setup_clients_for(org, user, extra_init=no_extra_init): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use None
instead and call the function IFF extra_init
is not None
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to keep the call site slightly simpler, I guess. This is longer than it needs to be, though, since the no_extra_init
function could be replaced by just lambda: None
.
Motivation for this change
Making progress on #72828. Very much just a mechanical translation.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)