mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
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
|
||||
];
|
||||
|
||||
# Integration tests require local DBs
|
||||
pytestFlagsArray = [ "tests/unit" ];
|
||||
pytestFlagsArray = [
|
||||
# Integration tests require local DBs
|
||||
"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