Merge pull request #147430 from fabaff/fix-requests-cache
python3Packages.requests-cache: disable flaky tests
This commit is contained in:
commit
e0e4c0ec4e
@ -55,10 +55,19 @@ buildPythonPackage rec {
|
||||
timeout-decorator
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# Integration tests require local DBs
|
||||
pytestFlagsArray = [ "tests/unit" ];
|
||||
"tests/unit"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "requests_cache" ];
|
||||
disabledTests = [
|
||||
# Tests are flaky in the sandbox
|
||||
"test_remove_expired_responses"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"requests_cache"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Persistent cache for requests library";
|
||||
|
Loading…
Reference in New Issue
Block a user