python3Packages.requests-cache: disable flaky tests
This commit is contained in:
parent
7c52900af1
commit
928afefaf3
1 changed files with 12 additions and 3 deletions
|
@ -55,10 +55,19 @@ buildPythonPackage rec {
|
||||||
timeout-decorator
|
timeout-decorator
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
# Integration tests require local DBs
|
# 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; {
|
meta = with lib; {
|
||||||
description = "Persistent cache for requests library";
|
description = "Persistent cache for requests library";
|
||||||
|
|
Loading…
Reference in a new issue