Skip to content

Commit 08e06f2

Browse files
authored
fix robot testplan (via #540)
1 parent 524beb8 commit 08e06f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

allure-robotframework/src/listener/allure_testplan.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ def __init__(self):
1212
def start_suite(self, suite):
1313
if self.testplan:
1414
# included_tests = [test["selector"] for test in self.testplan]
15-
suite.filter(included_tests=self.included_tests(suite))
15+
included_tests = self.included_tests(suite)
16+
if included_tests:
17+
suite.filter(included_tests=self.included_tests(suite))
1618

1719
def included_tests(self, suite):
18-
included_tests = [""]
20+
included_tests = []
1921
for test in suite.tests:
2022
allure_id = None
2123
for label in allure_labels(test.tags):

0 commit comments

Comments
 (0)