88... )) # doctest: +SKIP
99"""
1010
11- import pytest
11+ import allure
1212
1313LINK = 'http://qameta.io'
1414LINK_NAME = 'QAMETA'
2020TEST_CASE_NAME = 'Comment with spec'
2121
2222
23- @pytest . allure .link (LINK )
23+ @allure .link (LINK )
2424def test_single_link ():
2525 """
2626 >>> allure_report = getfixture('allure_report')
@@ -33,7 +33,7 @@ def test_single_link():
3333 pass
3434
3535
36- @pytest . allure .link (LINK , name = LINK_NAME )
36+ @allure .link (LINK , name = LINK_NAME )
3737def test_single_named_link ():
3838 """
3939 >>> allure_report = getfixture('allure_report')
@@ -46,7 +46,7 @@ def test_single_named_link():
4646 pass
4747
4848
49- @pytest . allure .link (LINK , name = LINK_NAME , link_type = LINK_TYPE )
49+ @allure .link (LINK , name = LINK_NAME , link_type = LINK_TYPE )
5050def test_single_named_link_with_custom_type ():
5151 """
5252 >>> allure_report = getfixture('allure_report')
@@ -58,7 +58,7 @@ def test_single_named_link_with_custom_type():
5858 pass
5959
6060
61- @pytest . allure .issue (ISSUE )
61+ @allure .issue (ISSUE )
6262def test_single_issue ():
6363 """
6464 >>> allure_report = getfixture('allure_report')
@@ -70,7 +70,7 @@ def test_single_issue():
7070 pass
7171
7272
73- @pytest . allure .testcase (TEST_CASE )
73+ @allure .testcase (TEST_CASE )
7474def test_single_test_case ():
7575 """
7676 >>> allure_report = getfixture('allure_report')
@@ -82,9 +82,9 @@ def test_single_test_case():
8282 pass
8383
8484
85- @pytest . allure .link (LINK , name = LINK_NAME , link_type = LINK_TYPE )
86- @pytest . allure .testcase (TEST_CASE , name = TEST_CASE_NAME )
87- @pytest . allure .issue (ISSUE , name = ISSUE_NAME )
85+ @allure .link (LINK , name = LINK_NAME , link_type = LINK_TYPE )
86+ @allure .testcase (TEST_CASE , name = TEST_CASE_NAME )
87+ @allure .issue (ISSUE , name = ISSUE_NAME )
8888def test_with_links_cases_and_issues ():
8989 """
9090 >>> allure_report = getfixture('allure_report')
@@ -98,8 +98,8 @@ def test_with_links_cases_and_issues():
9898 pass
9999
100100
101- @pytest . allure .testcase (TEST_CASE , name = "First" )
102- @pytest . allure .testcase (ANOTHER_TEST_CASE , name = "Second" )
101+ @allure .testcase (TEST_CASE , name = "First" )
102+ @allure .testcase (ANOTHER_TEST_CASE , name = "Second" )
103103def test_multiply_some_type_links ():
104104 """
105105 >>> allure_report = getfixture('allure_report')
0 commit comments