Merge pull request #113736 from graham33/fix/teslajsonpy_tests

teslajsonpy: fix tests
This commit is contained in:
Sandro 2021-02-20 16:29:37 +01:00 committed by GitHub
commit 20f4107d0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-asyncio
, pytestCheckHook
, wrapt
}:
@ -35,15 +36,11 @@ buildPythonPackage rec {
wrapt
];
checkInputs = [ pytestCheckHook ];
# Not all Home Assistant related check pass
# https://github.com/zabuldon/teslajsonpy/issues/121
# https://github.com/zabuldon/teslajsonpy/pull/124
disabledTests = [
"test_values_on_init"
"test_get_value_on_init"
checkInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "teslajsonpy" ];
meta = with lib; {