File tree 3 files changed +15
-1
lines changed 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 2
2
from ydb .tests .library .harness .kikimr_runner import KiKiMR
3
3
from ydb .tests .library .harness .kikimr_config import KikimrConfigGenerator
4
4
from ydb .tests .library .common .types import Erasure
5
+ from ydb .tests .library .test_meta import skip_with_issue , link_test_case
5
6
6
7
import ydb
7
8
8
9
9
- class TestExample ( object ) :
10
+ class TestExample :
10
11
"""
11
12
Example for python test
12
13
TODO: change description to yours
@@ -67,3 +68,11 @@ def test_example2(self): # TODO: change test name to yours
67
68
There can be more than 1 test in the suite
68
69
"""
69
70
pass
71
+
72
+ @link_test_case ("#999999998" ) # test can be linked with test-case issue in github
73
+ def test_linked_with_testcase (self ):
74
+ pass
75
+
76
+ @skip_with_issue ("#999999999" ) # test can be skipped with github issue
77
+ def test_skipped_with_issue (self ):
78
+ pass
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ DEPENDS(
13
13
14
14
PEERDIR(
15
15
ydb/tests/library
16
+ ydb/tests/library/test_meta
16
17
)
17
18
18
19
END()
Original file line number Diff line number Diff line change 1
1
import pytest
2
2
3
3
link_test_case = pytest .mark .test_case
4
+
5
+
6
+ def skip_with_issue (issue_id ):
7
+ return pytest .mark .skip (reason = issue_id )
You can’t perform that action at this time.
0 commit comments