mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #214972 from jfly/issue-211415-disable-failing-mycli-test
mycli: skip broken test
This commit is contained in:
commit
e1e2a8f671
@ -30,16 +30,24 @@ buildPythonApplication rec {
|
||||
sqlparse
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytest glibcLocales ];
|
||||
nativeCheckInputs = [ pytestCheckHook glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
preCheck = ''
|
||||
export HOME=.
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
|
||||
py.test \
|
||||
--ignore=mycli/packages/paramiko_stub/__init__.py
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
"mycli/packages/paramiko_stub/__init__.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Note: test_auto_escaped_col_names is currently failing due to a bug upstream.
|
||||
# TODO: re-enable this test once there is a fix upstream. See
|
||||
# https://github.com/dbcli/mycli/issues/1103 for details.
|
||||
"test_auto_escaped_col_names"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "cryptography == 36.0.2" "cryptography"
|
||||
|
Loading…
Reference in New Issue
Block a user