bump yamlish version
ClosedPublic

Authored by lbrabec on Mar 19 2015, 8:56 AM.

Details

Summary

new version of yamlish is out and should solve the T316 issue

Test Plan

$ time python runtask.py test.yml

with this task formula:

name: ...
desc: ...
maintainer: ...

actions:
    - name: ...
      python:
          file: run.py
          callable: run
      export: output

    - name: ...
      resultsdb:
          results: ${output}

run.py:

# -*- coding: utf-8 -*-
from libtaskotron import check
from libtaskotron.logger import log

def run():
    output = u"""muahaha
some crappy output
olol: ok
notok: olol
blah

!!ONE!1!1!šiška
"""
    detail = check.CheckDetail("blah", check.ReportType.KOJI_BUILD,
                                "PASSED", "blah blah", [output for _ in range(20000)])
    log.debug("exporing TAP")
    tapout = check.export_TAP(detail)
    log.debug("TAP exported")
    return tapout

if __name__ == '__main__':
    tapout = run()

    for result in tapout:
        print result

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lbrabec retitled this revision from to bump yamlish version.Mar 19 2015, 8:56 AM
lbrabec updated this object.
lbrabec edited the test plan for this revision. (Show Details)
lbrabec added a reviewer: kparal.
kparal accepted this revision.Mar 19 2015, 9:13 AM
This revision is now accepted and ready to land.Mar 19 2015, 9:13 AM
Closed by commit rLTRNf337a664014e: bump yamlish version (authored by Lukas Brabec <lbrabec@redhat.com>). · Explain WhyMar 19 2015, 9:15 AM
This revision was automatically updated to reflect the committed changes.