aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/tests
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /build/plugins/tests
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/tests')
-rw-r--r--build/plugins/tests/test_ssqls.py46
-rw-r--r--build/plugins/tests/ya.make2
2 files changed, 24 insertions, 24 deletions
diff --git a/build/plugins/tests/test_ssqls.py b/build/plugins/tests/test_ssqls.py
index db9e8c93bc..2a1d032109 100644
--- a/build/plugins/tests/test_ssqls.py
+++ b/build/plugins/tests/test_ssqls.py
@@ -1,23 +1,23 @@
-import xml.etree.cElementTree as ET
-
-from build.plugins import ssqls
-
-
-example = '''\
-<?xml version="1.0" encoding="utf-8"?>
-<DbObject>
- <include path="A.ssqls">&lt;a.h&gt;</include>
- <include>"b.h"</include>
-
- <ancestors>
- <ancestor path="C.ssqls"/>
- </ancestors>
-</DbObject>
-'''
-
-
-def test_include_parser():
- doc = ET.fromstring(example)
- xmls, headers = ssqls.SSQLSParser.parse_doc(doc)
- assert headers == ['a.h', 'b.h', 'C.h']
- assert xmls == ['A.ssqls', 'C.ssqls']
+import xml.etree.cElementTree as ET
+
+from build.plugins import ssqls
+
+
+example = '''\
+<?xml version="1.0" encoding="utf-8"?>
+<DbObject>
+ <include path="A.ssqls">&lt;a.h&gt;</include>
+ <include>"b.h"</include>
+
+ <ancestors>
+ <ancestor path="C.ssqls"/>
+ </ancestors>
+</DbObject>
+'''
+
+
+def test_include_parser():
+ doc = ET.fromstring(example)
+ xmls, headers = ssqls.SSQLSParser.parse_doc(doc)
+ assert headers == ['a.h', 'b.h', 'C.h']
+ assert xmls == ['A.ssqls', 'C.ssqls']
diff --git a/build/plugins/tests/ya.make b/build/plugins/tests/ya.make
index ad8f2c6a3b..87228b98df 100644
--- a/build/plugins/tests/ya.make
+++ b/build/plugins/tests/ya.make
@@ -10,7 +10,7 @@ TEST_SRCS(
test_code_generator.py
test_common.py
test_requirements.py
- test_ssqls.py
+ test_ssqls.py
)
END()