aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/cpp_test
diff options
context:
space:
mode:
Diffstat (limited to 'library/python/cpp_test')
-rw-r--r--library/python/cpp_test/test_cpp.py2
-rw-r--r--library/python/cpp_test/ya.make5
2 files changed, 2 insertions, 5 deletions
diff --git a/library/python/cpp_test/test_cpp.py b/library/python/cpp_test/test_cpp.py
index 674feb45e9..b7607d66c2 100644
--- a/library/python/cpp_test/test_cpp.py
+++ b/library/python/cpp_test/test_cpp.py
@@ -10,7 +10,7 @@ from library.python.testing.style import rules
import library.python.resource as lpr
-STYLE_CONFIG_JSON = json.dumps(yaml.safe_load(lpr.find('/cpp_style/config')))
+STYLE_CONFIG_JSON = json.dumps(yaml.safe_load(lpr.find('resfs/file/config.clang-format')))
RES_FILE_PREFIX = '/cpp_style/files/'
CHECKED_PATHS = list(lpr.iterkeys(RES_FILE_PREFIX, strip_prefix=True))
diff --git a/library/python/cpp_test/ya.make b/library/python/cpp_test/ya.make
index 6267cbf630..9fbc921298 100644
--- a/library/python/cpp_test/ya.make
+++ b/library/python/cpp_test/ya.make
@@ -1,6 +1,7 @@
PY3_LIBRARY()
PEERDIR(
+ build/config/tests/cpp_style
contrib/python/PyYAML
library/python/resource
library/python/testing/style
@@ -11,8 +12,4 @@ TEST_SRCS(
test_cpp.py
)
-RESOURCE(
- devtools/ya/handlers/style/style_config /cpp_style/config
-)
-
END()