Skip to content

Move from `manifest.metrics.get` to `manifest.expect` in metric helpers

Codecov / codecov/patch failed Sep 7, 2023 in 1s

50.00% of diff hit (target 86.36%)

View this Pull Request on Codecov

50.00% of diff hit (target 86.36%)

Annotations

Check warning on line 621 in core/dbt/context/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/context/providers.py#L621

Added line #L621 was not covered by tests

Check warning on line 45 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 52 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 62 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L62

Added line #L62 was not covered by tests

Check warning on line 68 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L65-L68

Added lines #L65 - L68 were not covered by tests

Check warning on line 78 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L78

Added line #L78 was not covered by tests

Check warning on line 82 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L82

Added line #L82 was not covered by tests

Check warning on line 87 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L87

Added line #L87 was not covered by tests

Check warning on line 91 in core/dbt/contracts/graph/metrics.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/dbt/contracts/graph/metrics.py#L91

Added line #L91 was not covered by tests