Files
hacs_integration/.coveragerc
Joakim Sørensen 3f09f5fc38 Refactor testing (#3357)
* init more tests

* Update snapshots

* update fixtures

* sort files

* Remove tests before running hassfest

* fix json

* more test adjustments

* lint

* add psutil_home_assistant test requirement

* sqlalchemy

* fnv_hash_fast

* more

* PIL

* Pillow

* janus

* hass_frontend

* home-assistant-frontend

* full entry for newer

* lint

* get entity for update test

* renames

* pin test packages

* single t

* updates

* fix stuff

* store entities and ws for setup test

* remove base

* Add basic fixtures for all categories

* Use WS command to register custom repository

* lint

* cleanup

* unused import

* Test addons and core

* start generate tests

* Output all calls to proxy

* change messaging

* lint

* remove old

* plugin

* lint

* try with minor_version first

* theme

* lint

* Setup all categories for tests

* lint

* Cleanup stale

* Remove unnecessary test files

* Remove aresponses

* remove proxy_session usage

* more!

* remove backup arg

* fix

* lint

* Remove autouse from setup_integration fixture

* add entities to snapshots

* Fix HACS test manifest

* filter calls

* replace diagnostics test

* Fix sorting

* better output

* adjust resp

* ignore minor_version

* replace print in test

* add appdaemon

* cleanup

* lint

* Add test for removing repositories

* lint

* update output

* extend generate

* More usage of common test data

* data client test

* output

* add python_script tests

* typo

* enable all

* config_flow tests

* remaining generate

* use xfail

* lint

* lint

* sort

* adjust

* cover bad cases

* one more

* update snapshots

* init better action testing

* track loader.async_suggest_report_issue

* lint

* Sort action results

* lint...

* Guard async_suggest_report_issue

* lint

* Run dev tests against 3.12 as well

* change names

* move report check to fixture

* fix version selector

* Add setuptools to base

* fix check_report_issue check

* Use set_state to bust cached propery

* Use async_test_home_assistant test helpers from homeassistant core repo

* Lint

* Update snapshots

* Align with HA Core 2024.4.0

* Fix test_update_repository_entity

* Fix import

* Fix test_hacs_action_integration

* Disable testing dev core with Python 3.11

* Allow more issues

* Use Python 3.12 run in codecov

* Enable config flow tests

* Adjust tests

* Update generate_category_data tests

* Clear stored responses after usage

* Rename tests/z_action to tests/action

* Update snapshot

* Update action test

* Remove cleanups

* use with expectation

* fix typing

* Use python version from matrix

* Test option flow

* Lint

* Update snapshots

* Use token constant

---------

Co-authored-by: Erik <erik@montnemery.com>
2024-04-10 16:15:35 +02:00

13 lines
158 B
INI

[run]
source = custom_components
omit =
# omit tests
tests/*
# omit scripts
scripts/update/*
[report]
exclude_lines =
if TYPE_CHECKING: