aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/resource
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/python/resource
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 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 50e37d5cac..ef4df624f3 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 52f006ff91..eaac8aa4c4 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 693e388878..3f607afcdc 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 5085610faf..555b9365e5 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 a5ec192d74..d44f1524e0 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 989329fa4b..60457ce584 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)