File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 51
51
warn ,
52
52
)
53
53
54
- __version__ = "1.11.0 "
54
+ __version__ = "1.11.1 "
55
55
56
56
57
57
class DataDriver :
Original file line number Diff line number Diff line change 5
5
from pathlib import Path
6
6
7
7
from robot .api import ExecutionResult , ResultVisitor , SuiteVisitor # type: ignore
8
- from robot .running .model import Variable # type: ignore
8
+ try :
9
+ from robot .running .model import Variable # type: ignore
10
+ except ImportError :
11
+ from robot .running .resourcemodel import Variable # type: ignore / robotframework>=7.0
9
12
10
13
11
14
class rerunfailed (SuiteVisitor ):
@@ -23,7 +26,7 @@ def start_suite(self, suite):
23
26
suite .tests .clear ()
24
27
return
25
28
if self ._suite_is_data_driven (suite ):
26
- dynamic_tests = Variable ("@ {DYNAMICTESTS}" , self ._failed_tests , suite .source )
29
+ dynamic_tests = Variable ("$ {DYNAMICTESTS}" , self ._failed_tests , suite .source )
27
30
suite .resource .variables .append (dynamic_tests )
28
31
else :
29
32
suite .tests = [
You can’t perform that action at this time.
0 commit comments