Skip to content

Commit

Permalink
Travis troubleshoot.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Apr 30, 2020
1 parent 6fc11ed commit 35bff19
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/test_trackbar.py
@@ -1,9 +1,11 @@
from os import environ

import pytest

from ocvproto.toolbox import Window, Trackbar


@pytest.mark.skip(reason='UI backend may be unavailable')
@pytest.mark.skipif('TRAVIS' in environ, reason='UI backend may be unavailable')
def test_trackbar(static_path):

win = Window()
Expand Down
5 changes: 5 additions & 0 deletions tests/test_window.py
@@ -1,6 +1,11 @@
from os import environ

import pytest

from ocvproto.toolbox import Window


@pytest.mark.skipif('TRAVIS' in environ, reason='UI backend may be unavailable')
def test_window():
win = Window()
win.create(autosize=False)
Expand Down
4 changes: 3 additions & 1 deletion tests/test_wm.py
@@ -1,9 +1,11 @@
from os import environ

import pytest

from ocvproto.toolbox import WindowManager, Window, Application, Canvas, Trackbar


@pytest.mark.skip(reason='UI backend may be unavailable')
@pytest.mark.skipif('TRAVIS' in environ, reason='UI backend may be unavailable')
def test_wm(tmpdir):

with WindowManager() as wm:
Expand Down

0 comments on commit 35bff19

Please sign in to comment.