summaryrefslogtreecommitdiffstats
path: root/library/python/resource/ut/lib/test_simple.py
diff options
context:
space:
mode:
authorAleksandr <[email protected]>2022-02-10 16:47:52 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:52 +0300
commitea6c5b7f172becca389cacaff7d5f45f6adccbe6 (patch)
treed16cef493ac1e092b4a03ab9437ec06ffe3d188f /library/python/resource/ut/lib/test_simple.py
parent37de222addabbef336dcaaea5f7c7645a629fc6d (diff)
Restoring authorship annotation for Aleksandr <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/python/resource/ut/lib/test_simple.py')
-rw-r--r--library/python/resource/ut/lib/test_simple.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/python/resource/ut/lib/test_simple.py b/library/python/resource/ut/lib/test_simple.py
index 52f006ff919..f76b656cb90 100644
--- a/library/python/resource/ut/lib/test_simple.py
+++ b/library/python/resource/ut/lib/test_simple.py
@@ -1,11 +1,11 @@
-import six # noqa
-
+import six # noqa
+
import library.python.resource as rs
text = b'na gorshke sidel korol\n'
-def test_find():
+def test_find():
assert rs.find('/qw.txt') == text
@@ -21,11 +21,11 @@ def test_iter():
('/1.txt', text),
('/2.txt', text),
}
-
-
-def test_resfs_files():
- assert 'contrib/python/py/.dist-info/METADATA' in set(rs.resfs_files())
-
-
-def test_resfs_read():
- assert 'Metadata-Version' in rs.resfs_read('contrib/python/py/.dist-info/METADATA').decode('utf-8')
+
+
+def test_resfs_files():
+ assert 'contrib/python/py/.dist-info/METADATA' in set(rs.resfs_files())
+
+
+def test_resfs_read():
+ assert 'Metadata-Version' in rs.resfs_read('contrib/python/py/.dist-info/METADATA').decode('utf-8')