MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / test_detect_snake_case

Method test_detect_snake_case

tests/test_learning.py:52–62  ·  view source on GitHub ↗

Should detect snake_case naming.

(self)

Source from the content-addressed store, hash-verified

50 assert result == "unittest"
51
52 def test_detect_snake_case(self):
53 """Should detect snake_case naming."""
54 content = """
55def my_function():
56 pass
57
58def another_function():
59 pass
60"""
61 result = PreferenceDetector.detect_naming_convention(content)
62 assert result == "snake_case"
63
64 def test_detect_all_preferences(self):
65 """Should detect multiple preferences at once."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected