MCPcopy Create free account
hub / github.com/FDA/openfda / assert_count_top

Function assert_count_top

openfda/tests/api_test_helpers.py:42–49  ·  view source on GitHub ↗

Verify that all of the terms in `terms` are found in the top-N count results.

(query, expected_terms, N=10)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

fetch_countsFunction · 0.85

Tested by

no test coverage detected