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