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