Skip to content

Commit 5142639

Browse files
committed
Cleanup
1 parent 08ba690 commit 5142639

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/robot/model/totalstatistics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919

2020
class TotalStatistics(object):
21-
# TODO: can this class be inlined, since there's only one type of total stat
2221
"""Container for total statistics."""
2322

2423
def __init__(self, rpa=False):

src/robot/run.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@
204204
and codes work. `skipped` can be omitted.
205205
Examples: --reportbackground green:red:yellow
206206
--reportbackground #00E:#E00
207-
# TODO: is the order correct like this?
208207
--maxerrorlines lines Maximum number of error message lines to show in
209208
report when tests fail. Default is 40, minimum is 10
210209
and `NONE` can be used to show the full message.

src/robot/running/status.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
from robot.errors import ExecutionFailed, PassExecution
17-
from robot.model.tags import TagPatterns
17+
from robot.model import TagPatterns
1818
from robot.utils import html_escape, py2to3, unic, test_or_task
1919

2020

@@ -158,7 +158,6 @@ def test_failed(self, failure):
158158

159159
def _should_skip_on_failure(self, test, skip_on_failure_tags,
160160
critical_tags):
161-
# TODO: test if this can be used with not critical TagPattern
162161
critical_pattern = TagPatterns(critical_tags)
163162
if critical_pattern and critical_pattern.match(test.tags):
164163
return False

0 commit comments

Comments
 (0)