python3Packages.reptor: skip all integration tests

Currently four tests fail with

RuntimeError: APIClient cannot be used in tests. Patch methods as needed.

Changed files
+11 -8
pkgs
development
python-modules
reptor
+11 -8
pkgs/development/python-modules/reptor/default.nix
···
deepl,
django,
fetchFromGitHub,
+
fetchpatch,
gql,
pytestCheckHook,
pyyaml,
···
hash = "sha256-nNG4rQHloOqcPZPnvw3hbw0+wCbB2XAdQ5/XnJtCHnE=";
};
+
patches = [
+
# https://github.com/Syslifters/reptor/pull/221
+
(fetchpatch {
+
url = "https://github.com/Syslifters/reptor/commit/0fc43c246e2f99aaac9e78af818f360a3a951980.patch";
+
hash = "sha256-eakbI7hMJdshD0OA6n7dEO4+qPB21sYl09uZgepiWu0=";
+
})
+
];
+
pythonRelaxDeps = true;
build-system = [ setuptools ];
···
pythonImportsCheck = [ "reptor" ];
-
disabledTestPaths = [
-
# Tests want to use pip install dependencies
-
"reptor/plugins/importers/GhostWriter/tests/test_ghostwriter.py"
-
];
-
-
disabledTests = [
+
disabledTestMarks = [
# Tests need network access
-
"TestDummy"
-
"TestIntegration"
+
"integration"
];
meta = with lib; {