MCPcopy Create free account
hub / github.com/ycm-core/YouCompleteMe / ContentsOfTestFile

Function ContentsOfTestFile

python/ycm/tests/syntax_parse_test.py:29–32  ·  view source on GitHub ↗
( test_file )

Source from the content-addressed store, hash-verified

27
28
29def ContentsOfTestFile( test_file ):
30 dir_of_script = os.path.dirname( os.path.abspath( __file__ ) )
31 full_path_to_test_file = os.path.join( dir_of_script, 'testdata', test_file )
32 return ReadFile( full_path_to_test_file )
33
34
35class SyntaxTest( TestCase ):

Calls

no outgoing calls

Tested by

no test coverage detected