python3Packages.pyro4: Fix tests on darwin
This commit is contained in:
parent
854096fa4f
commit
724abf2a02
|
@ -32,10 +32,15 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
# add testsupport.py to PATH
|
# add testsupport.py to PATH
|
||||||
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
|
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
|
||||||
|
|
||||||
# ignore network related tests, which fail in sandbox
|
# ignore network related tests, which fail in sandbox
|
||||||
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
|
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]
|
||||||
|
# test hangs on darwin with sandbox enabled
|
||||||
|
++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"StartNSfunc"
|
"StartNSfunc"
|
||||||
"Broadcast"
|
"Broadcast"
|
||||||
|
@ -47,5 +52,5 @@ buildPythonPackage rec {
|
||||||
homepage = "https://github.com/irmen/Pyro4";
|
homepage = "https://github.com/irmen/Pyro4";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ prusnak ];
|
maintainers = with maintainers; [ prusnak ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue