teslajsonpy: fix tests
teslajsonpy has some dependencies between tests, which were masked upstream but caused failures in nixpkgs because all the asyncio tests were skipped. Tests pass as they do upstream with pytest-asyncio added. Test isolation issue is being dealt with here: https://github.com/zabuldon/teslajsonpy/issues/121.
This commit is contained in:
parent
a86974cf90
commit
eb53531b6f
1 changed files with 5 additions and 8 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue