aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing/yatest_common/yatest/common/errors.py
diff options
context:
space:
mode:
authorDmitry Kopylov <kopylovd@gmail.com>2022-02-10 16:48:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:18 +0300
commit7230275728d34873cba1ba78bb68669b0c5faa31 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/python/testing/yatest_common/yatest/common/errors.py
parentb2f5101486cc0de2e979c8ba9ada2109785bf5fd (diff)
downloadydb-7230275728d34873cba1ba78bb68669b0c5faa31.tar.gz
Restoring authorship annotation for Dmitry Kopylov <kopylovd@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/python/testing/yatest_common/yatest/common/errors.py')
-rw-r--r--library/python/testing/yatest_common/yatest/common/errors.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/errors.py b/library/python/testing/yatest_common/yatest/common/errors.py
index 5cdd62c6d0..8c038fc381 100644
--- a/library/python/testing/yatest_common/yatest/common/errors.py
+++ b/library/python/testing/yatest_common/yatest/common/errors.py
@@ -1,20 +1,20 @@
import os
-import sys
-
-
-class RestartTestException(Exception):
-
- def __init__(self, *args, **kwargs):
+import sys
+
+
+class RestartTestException(Exception):
+
+ def __init__(self, *args, **kwargs):
super(RestartTestException, self).__init__(*args, **kwargs)
- sys.stderr.write("##restart-test##\n")
- sys.stderr.flush()
+ sys.stderr.write("##restart-test##\n")
+ sys.stderr.flush()
os.environ["FORCE_EXIT_TESTSFAILED"] = "1"
-
-
-class InfrastructureException(Exception):
-
- def __init__(self, *args, **kwargs):
+
+
+class InfrastructureException(Exception):
+
+ def __init__(self, *args, **kwargs):
super(InfrastructureException, self).__init__(*args, **kwargs)
- sys.stderr.write("##infrastructure-error##\n")
- sys.stderr.flush()
+ sys.stderr.write("##infrastructure-error##\n")
+ sys.stderr.flush()
os.environ["FORCE_EXIT_TESTSFAILED"] = "1"