• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CKI-project / kpet / 138 / 2
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2019 01:46PM UTC
Files 6
Run time 12min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Feb 2019 01:45PM UTC coverage: 96.785% (-0.3%) from 97.078%
TOX_ENV=flake8,pylint

push

travis-ci-com

veruu
workaround py3 exception

Python3 doesn't allow to compare 'str' and NoneType. The code fails with
following trace that I haven't been able to reproduce locally:

1550047782.517421:ERROR:While executing command "run"
Traceback (most recent call last):
  File "/tmp/.local/bin/kpet", line 11, in <module>
    load_entry_point('kpet==1', 'console_scripts', 'kpet')()
  File "/tmp/.local/lib/python3.7/site-packages/kpet/__init__.py", line 195, in main
    exec_command(args, commands)
  File "/tmp/.local/lib/python3.7/site-packages/kpet/__init__.py", line 162, in exec_command
    command[0](*command[1:])
  File "/tmp/.local/lib/python3.7/site-packages/kpet/run.py", line 101, in main
    args.pw_cookie)
  File "/tmp/.local/lib/python3.7/site-packages/kpet/run.py", line 76, in generate
    targeted.get_property('partitions', test_names, dbdir)
TypeError: '<' not supported between instances of 'NoneType' and 'str'

The cause is likely 'partitions' being resolved to None somewhere.
For now, just lazily filter-out that None value.

Signed-off-by: Jakub Racek <jracek@redhat.com>

63 of 66 branches covered (95.45%)

Branch coverage included in aggregate %.

238 of 245 relevant lines covered (97.14%)

0.97 hits per line

Source Files on job 138.2 (TOX_ENV=flake8,pylint)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 73
  • Travis Job 138.2
  • be371455 on github
  • Prev Job for TOX_ENV=flake8,pylint on master (#127.2)
  • Next Job for TOX_ENV=flake8,pylint on master (#148.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc