python3Packages.azure-core: fix tests
This commit is contained in:
parent
63c1c92476
commit
b53d3aa90a
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@ buildPythonPackage rec {
|
|||
typing-extensions
|
||||
];
|
||||
|
||||
# test server needs to be available
|
||||
preCheck = ''
|
||||
export PYTHONPATH=tests/testserver_tests/coretestserver:$PYTHONPATH
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [ "tests/" ];
|
||||
# disable tests which touch network
|
||||
disabledTests = [ "aiohttp" "multipart_send" "response" "request" "timeout" ];
|
||||
|
|
Loading…
Reference in a new issue