mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
python3Packages.langchain: disable integration_tests with pytestFlagsArray
some tests require files in integration_tests/examples
This commit is contained in:
parent
6bf9ace2ec
commit
0ca6725448
@ -208,10 +208,10 @@ buildPythonPackage rec {
|
||||
responses
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
pytestFlagsArray = [
|
||||
# integration_tests have many network, db access and require `OPENAI_API_KEY`, etc.
|
||||
rm -r tests/integration_tests
|
||||
'';
|
||||
"--ignore=tests/integration_tests"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# these tests have db access
|
||||
|
Loading…
Reference in New Issue
Block a user