mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
python3Packages.matrix-nio: fix tests
This commit is contained in:
@@ -60,6 +60,13 @@ buildPythonPackage rec {
|
||||
./allow-tests-without-olm.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix yarl compat about url normalization
|
||||
substituteInPlace tests/async_client_test.py \
|
||||
--replace-fail "?&" "?"
|
||||
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -115,6 +122,9 @@ buildPythonPackage rec {
|
||||
"test_connect_wrapper"
|
||||
# time dependent and flaky
|
||||
"test_transfer_monitor_callbacks"
|
||||
# _plain_data_generator yields str but test expectes bytes
|
||||
"test_upload_retry"
|
||||
"test_upload_text_file_object"
|
||||
]
|
||||
++ lib.optionals (!withOlm) [
|
||||
"test_client_account_sharing"
|
||||
|
||||
Reference in New Issue
Block a user