Commit 58c2d94f authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix rows metrics test

parent c1ad02ef
import frictionless
# Waiting for this property to come back
def stats_rows_metrics():
def test_stats_rows_metrics():
schema = {
"fields": [{"name": "id"}, {"name": "value", "constraints": {"required": True}}]
......@@ -19,4 +18,4 @@ def stats_rows_metrics():
# as soon as max errors count is reached, parsing stops.
# So stats rows can't be used for source rows count
assert report["tasks"][0]["stats"]["rows"] == 2000
assert report["tasks"][0]["resource"]["stats"]["rows"] == 2000
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment