|
|
|
@ -182,31 +182,23 @@ in with py.pkgs; buildPythonApplication rec { |
|
|
|
|
|
|
|
|
|
pytestFlagsArray = [ |
|
|
|
|
"-n auto" |
|
|
|
|
# assign tests grouped by file to workers |
|
|
|
|
"--dist loadfile" |
|
|
|
|
# don't bulk test all components |
|
|
|
|
"--ignore tests/components" |
|
|
|
|
# prone to race conditions due to parallel file access |
|
|
|
|
"--ignore tests/test_config.py" |
|
|
|
|
# pyotp since v2.4.0 complains about the short mock keys, hass pins v2.3.0 |
|
|
|
|
"--ignore tests/auth/mfa_modules/test_notify.py" |
|
|
|
|
"tests" |
|
|
|
|
] ++ map (component: "tests/components/" + component) componentTests; |
|
|
|
|
|
|
|
|
|
disabledTests = [ |
|
|
|
|
# AssertionError: assert 'unknown' == 'not_home' |
|
|
|
|
"test_device_tracker_not_home" |
|
|
|
|
# AssertionError: assert 1 == 0 |
|
|
|
|
"test_merge" |
|
|
|
|
# ModuleNotFoundError: No module named 'pyqwikswitch' |
|
|
|
|
"test_merge_id_schema" |
|
|
|
|
# keyring.errors.NoKeyringError: No recommended backend was available. |
|
|
|
|
"test_secrets_from_unrelated_fails" |
|
|
|
|
"test_secrets_credstash" |
|
|
|
|
# AssertionError: Expected 'start' to have been called once. Called 0 times. |
|
|
|
|
"test_setup_and_stop" |
|
|
|
|
# AssertionError: assert {} == {'test': <ANY...ckage': <ANY>} |
|
|
|
|
"test_get_custom_components_internal" |
|
|
|
|
# assert 0 == 1 where 0 = len([]) |
|
|
|
|
"test_error_posted_as_event" |
|
|
|
|
# RuntimeError: Event loop is closed |
|
|
|
|
"test_config_path" |
|
|
|
|
"test_info_endpoint_register_callback_timeout" |
|
|
|
|
"test_scan_match_st" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
preCheck = '' |
|
|
|
|