Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib64/python3..../unittest
File: case.py
if self.params:
[1500] Fix | Delete
params_desc = ', '.join(
[1501] Fix | Delete
"{}={!r}".format(k, v)
[1502] Fix | Delete
for (k, v) in self.params.items())
[1503] Fix | Delete
parts.append("({})".format(params_desc))
[1504] Fix | Delete
return " ".join(parts) or '(<subtest>)'
[1505] Fix | Delete
[1506] Fix | Delete
def id(self):
[1507] Fix | Delete
return "{} {}".format(self.test_case.id(), self._subDescription())
[1508] Fix | Delete
[1509] Fix | Delete
def shortDescription(self):
[1510] Fix | Delete
"""Returns a one-line description of the subtest, or None if no
[1511] Fix | Delete
description has been provided.
[1512] Fix | Delete
"""
[1513] Fix | Delete
return self.test_case.shortDescription()
[1514] Fix | Delete
[1515] Fix | Delete
def __str__(self):
[1516] Fix | Delete
return "{} {}".format(self.test_case, self._subDescription())
[1517] Fix | Delete
[1518] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function