python311PAckages.detect-secrets: test with pytest 7
This commit is contained in:
parent
312523f9f5
commit
41aace96d2
|
@ -5,7 +5,7 @@
|
|||
, mock
|
||||
, pkgs
|
||||
, pyahocorasick
|
||||
, pytestCheckHook
|
||||
, pytest7CheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requests
|
||||
|
@ -37,17 +37,12 @@ buildPythonPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest7CheckHook
|
||||
responses
|
||||
unidiff
|
||||
pkgs.gitMinimal
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# Pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
|
||||
"-W" "ignore::pytest.PytestRemovedIn8Warning"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d);
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue