(test_campaign)
| 399 | |
| 400 | |
| 401 | def dump_campaign(test_campaign): |
| 402 | print("#" * (len(test_campaign.title) + 6)) |
| 403 | print("## %(title)s ##" % test_campaign) |
| 404 | print("#" * (len(test_campaign.title) + 6)) |
| 405 | if test_campaign.sha and test_campaign.crc: |
| 406 | print("CRC=[%(crc)s] SHA=[%(sha)s]" % test_campaign) |
| 407 | print("from file %(filename)s" % test_campaign) |
| 408 | print() |
| 409 | for ts in test_campaign: |
| 410 | if ts.crc: |
| 411 | print("+--[%s]%s(%s)--" % (ts.name, "-" * max(2, 80 - len(ts.name) - 18), ts.crc)) # noqa: E501 |
| 412 | else: |
| 413 | print("+--[%s]%s" % (ts.name, "-" * max(2, 80 - len(ts.name) - 6))) |
| 414 | if ts.keywords: |
| 415 | print(" kw=%s" % ",".join(ts.keywords)) |
| 416 | for t in ts: |
| 417 | print("%(num)03i %(name)s" % t) |
| 418 | c = k = "" |
| 419 | if t.keywords: |
| 420 | k = "kw=%s" % ",".join(t.keywords) |
| 421 | if t.crc: |
| 422 | c = "[%(crc)s] " % t |
| 423 | if c or k: |
| 424 | print(" %s%s" % (c, k)) |
| 425 | |
| 426 | |
| 427 | def docs_campaign(test_campaign): |
no test coverage detected
searching dependent graphs…