python310Packages.anybadge: add missing inputs

- disable failing tests
This commit is contained in:
Fabian Affolter 2023-01-24 14:31:06 +01:00
parent 17368ed4a4
commit a2b16c5a3a

View file

@ -1,8 +1,10 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, fetchFromGitHub
, packaging
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
@ -22,8 +24,23 @@ buildPythonPackage rec {
# setup.py reads its version from the TRAVIS_TAG environment variable
TRAVIS_TAG = "v${version}";
propagatedBuildInputs = [
packaging
];
nativeCheckInputs = [
pytestCheckHook
requests
];
disabledTests = [
# Comparison of CLI output fails
"test_module_same_output_as_main_cli"
];
disabledTestPaths = [
# No anybadge-server
"tests/test_server.py"
];
pythonImportsCheck = [