Merge pull request #113736 from graham33/fix/teslajsonpy_tests
teslajsonpy: fix tests
This commit is contained in:
commit
20f4107d0a
@ -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; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user