MCPcopy Create free account
hub / github.com/Pometry/Raphtory / assert_in_all

Function assert_in_all

python/test_utils/utils.py:258–260  ·  view source on GitHub ↗
(haystack: str, needles)

Source from the content-addressed store, hash-verified

256
257
258def assert_in_all(haystack: str, needles):
259 for n in needles:
260 assert n in haystack, f"expected to find {n!r} in {haystack!r}"
261
262
263# Needed because datetimes generated using .now() have sub millisecond precision which raphtory does not support.

Calls

no outgoing calls