Skip to content

Commit

Permalink
fix robot testplan (via #540)
Browse files Browse the repository at this point in the history
  • Loading branch information
sseliverstov authored Jan 13, 2021
1 parent 524beb8 commit 08e06f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions allure-robotframework/src/listener/allure_testplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ def __init__(self):
def start_suite(self, suite):
if self.testplan:
# included_tests = [test["selector"] for test in self.testplan]
suite.filter(included_tests=self.included_tests(suite))
included_tests = self.included_tests(suite)
if included_tests:
suite.filter(included_tests=self.included_tests(suite))

def included_tests(self, suite):
included_tests = [""]
included_tests = []
for test in suite.tests:
allure_id = None
for label in allure_labels(test.tags):
Expand Down

0 comments on commit 08e06f2

Please sign in to comment.