python313Packages.pysmartdl: fix tests (#404507)

This commit is contained in:
Vladimír Čunát
2025-05-10 19:36:35 +02:00
@@ -22,6 +22,11 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
# https://docs.python.org/3/whatsnew/3.13.html#unittest
preCheck = ''
substituteInPlace test/test_pySmartDL.py \
--replace-fail 'unittest.makeSuite(' 'unittest.TestLoader().loadTestsFromTestCase('
'';
disabledTests = [
# touch the network
"test_basic_auth"