1 import ./make-test-python.nix ({ pkgs, lib, ... }: {
3 meta.maintainers = [ lib.maintainers.anthonyroussel ];
5 nodes.machine = { ... } : {
6 environment.systemPackages = [
10 programs.oddjobd.enable = true;
16 machine.wait_for_unit("oddjobd.service")
17 machine.wait_for_file("/run/oddjobd.pid")
19 with subtest("send oddjob listall request"):
20 result = machine.succeed("oddjob_request -s com.redhat.oddjob -o /com/redhat/oddjob -i com.redhat.oddjob listall")
21 assert ('(service="com.redhat.oddjob",object="/com/redhat/oddjob",interface="com.redhat.oddjob",method="listall")' in result)