MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_classify_image

Function test_classify_image

tests/test_detect.py:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 assert classify_file(Path("archive.zip")) is None
39
40def test_classify_image():
41 assert classify_file(Path("screenshot.png")) == FileType.IMAGE
42 assert classify_file(Path("design.jpg")) == FileType.IMAGE
43 assert classify_file(Path("diagram.webp")) == FileType.IMAGE
44
45def test_count_words_sample_md():
46 words = count_words(FIXTURES / "sample.md")

Callers

nothing calls this directly

Calls 1

classify_fileFunction · 0.90

Tested by

no test coverage detected