Skip to content

Commit

Permalink
Issue #46: Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattClarkson committed May 30, 2022
1 parent a0ff648 commit 4dc56de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_common_overlay_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import numpy as np
import sksurgeryutils.common_overlay_apps as coa


def test_OverlayOnVideoFeedCropRecord_from_file(setup_qt, tmpdir):

in_github_ci = os.environ.get('CI')
Expand Down Expand Up @@ -47,6 +48,7 @@ def test_OverlayOnVideoFeedCropRecord_from_file(setup_qt, tmpdir):

output_video.release()


def test_OverlayOnVideoFeedCropRecord_from_webcam(setup_qt):
"""
Test will only run if there is a camera avilable.
Expand Down Expand Up @@ -78,6 +80,7 @@ def test_OverlayOnVideoFeedCropRecord_from_webcam(setup_qt):
overlay_app.on_record_stop()
overlay_app.stop()


def test_OverlayBaseWidgetRaisesNotImplementedError(setup_qt):

class ErrorApp(coa.OverlayBaseWidget):
Expand Down

0 comments on commit 4dc56de

Please sign in to comment.