MCPcopy
hub / github.com/MinishLab/semble / test_all_excludes_data_extensions

Function test_all_excludes_data_extensions

tests/test_files.py:51–55  ·  view source on GitHub ↗

--content all does not include data file extensions (csv, json, tsv, psv).

()

Source from the content-addressed store, hash-verified

49
50
51def test_all_excludes_data_extensions() -> None:
52 """--content all does not include data file extensions (csv, json, tsv, psv)."""
53 all_exts = set(get_extensions(list(ContentType)))
54 for ext in (".csv", ".tsv", ".psv", ".json", ".json5"):
55 assert ext not in all_exts, f"{ext} should not be indexed by 'all'"

Callers

nothing calls this directly

Calls 1

get_extensionsFunction · 0.90

Tested by

no test coverage detected