aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/resource
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/python/resource
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
downloadydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/python/resource')
-rw-r--r--library/python/resource/ut/lib/qw.txt2
-rw-r--r--library/python/resource/ut/lib/test_simple.py6
-rw-r--r--library/python/resource/ut/lib/ya.make26
-rw-r--r--library/python/resource/ut/py2/ya.make14
-rw-r--r--library/python/resource/ut/ya.make6
-rw-r--r--library/python/resource/ya.make10
6 files changed, 32 insertions, 32 deletions
diff --git a/library/python/resource/ut/lib/qw.txt b/library/python/resource/ut/lib/qw.txt
index ef4df624f3..50e37d5cac 100644
--- a/library/python/resource/ut/lib/qw.txt
+++ b/library/python/resource/ut/lib/qw.txt
@@ -1 +1 @@
-na gorshke sidel korol
+na gorshke sidel korol
diff --git a/library/python/resource/ut/lib/test_simple.py b/library/python/resource/ut/lib/test_simple.py
index eaac8aa4c4..52f006ff91 100644
--- a/library/python/resource/ut/lib/test_simple.py
+++ b/library/python/resource/ut/lib/test_simple.py
@@ -1,9 +1,9 @@
import six # noqa
-import library.python.resource as rs
-
+import library.python.resource as rs
+
text = b'na gorshke sidel korol\n'
-
+
def test_find():
assert rs.find('/qw.txt') == text
diff --git a/library/python/resource/ut/lib/ya.make b/library/python/resource/ut/lib/ya.make
index 3f607afcdc..693e388878 100644
--- a/library/python/resource/ut/lib/ya.make
+++ b/library/python/resource/ut/lib/ya.make
@@ -1,17 +1,17 @@
PY23_LIBRARY()
-
-OWNER(pg)
-
+
+OWNER(pg)
+
TEST_SRCS(test_simple.py)
-
-PEERDIR(
- library/python/resource
-)
-
-RESOURCE(
- qw.txt /qw.txt
+
+PEERDIR(
+ library/python/resource
+)
+
+RESOURCE(
+ qw.txt /qw.txt
qw.txt /prefix/1.txt
qw.txt /prefix/2.txt
-)
-
-END()
+)
+
+END()
diff --git a/library/python/resource/ut/py2/ya.make b/library/python/resource/ut/py2/ya.make
index 555b9365e5..5085610faf 100644
--- a/library/python/resource/ut/py2/ya.make
+++ b/library/python/resource/ut/py2/ya.make
@@ -1,9 +1,9 @@
PY2TEST()
-
-OWNER(pg)
-
-PEERDIR(
+
+OWNER(pg)
+
+PEERDIR(
library/python/resource/ut/lib
-)
-
-END()
+)
+
+END()
diff --git a/library/python/resource/ut/ya.make b/library/python/resource/ut/ya.make
index d44f1524e0..a5ec192d74 100644
--- a/library/python/resource/ut/ya.make
+++ b/library/python/resource/ut/ya.make
@@ -1,6 +1,6 @@
-OWNER(pg)
-
+OWNER(pg)
+
RECURSE(
py2
py3
-)
+)
diff --git a/library/python/resource/ya.make b/library/python/resource/ya.make
index 60457ce584..989329fa4b 100644
--- a/library/python/resource/ya.make
+++ b/library/python/resource/ya.make
@@ -1,13 +1,13 @@
PY23_LIBRARY()
-
-OWNER(pg)
-
+
+OWNER(pg)
+
PEERDIR(
contrib/python/six
)
PY_SRCS(__init__.py)
-
-END()
+
+END()
RECURSE_FOR_TESTS(ut)