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

pytest-dev / pytest-qt / 782 / 5
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2016 11:01PM UTC
Files 8
Run time 1s
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

18 Oct 2016 10:58PM UTC coverage: 95.493% (-0.8%) from 96.313%
PYTEST_QT_API=pyqt4v2

Pull #159

travis-ci

web-flow
Try to workaround travis error:

=================================== FAILURES ===================================
______________________ test_wait_window[waitActive-True] _______________________
show = True, method_name = 'waitActive'
qtbot = <pytestqt.qtbot.QtBot object at 0x7f19a0f9e208>
    @pytest.mark.parametrize('show', [True, False])
    @pytest.mark.parametrize('method_name', ['waitExposed', 'waitActive'])
    def test_wait_window(show, method_name, qtbot):
        """
        Using one of the wait-widget methods should not raise anything if the widget
        is properly displayed, otherwise should raise a TimeoutError.
        """
        method = getattr(qtbot, method_name)
        if qt_api.pytest_qt_api != 'pyqt5':
            with pytest.raises(RuntimeError) as exc_info:
                with method(None, None):
                    pass
            assert str(exc_info.value) == 'Available in PyQt5 only'
        else:
            widget = qt_api.QWidget()
            qtbot.add_widget(widget)
            if show:
                with method(widget, timeout=1000):
>                   widget.show()
E                   pytestqt.qtbot.TimeoutError: widget <PyQt5.QtWidgets.QWidget object at 0x7f19a0efc948> not activated in 1000 ms.
tests/test_basics.py:90: TimeoutError
----------------------------- Captured Qt messages -----------------------------
qxcbwindow.cpp:QImage::Format imageFormatForDepth(int):178:
    QtWarningMsg: Unsupported screen depth: 8
Pull Request #159: Add waitExposed and waitActive methods to QtBot

1123 of 1176 relevant lines covered (95.49%)

0.95 hits per line

Source Files on job 782.5 (PYTEST_QT_API=pyqt4v2)
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 782
  • Travis Job 782.5
  • 344aa7f4 on github
  • Prev Job for PYTEST_QT_API=pyqt4v2 on master (#776.5)
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

© 2024 Coveralls, Inc