Commit 5ec54f18 authored by Thomas Dowrick's avatar Thomas Dowrick

Issue #N/A: Use file rather than camera input in test

parent 2cca566a
......@@ -70,15 +70,15 @@ def test_OverlayOnVideoFeed_from_webcam(setup_qt):
def test_OverlayBaseAppRaisesNotImplementedError(setup_qt):
Test will only run if there is a camera avilable
class ErrorApp(coa.OverlayBaseApp):
def something(self):
with pytest.raises(NotImplementedError):
overlay_app = ErrorApp(0)
input_file = 'tests/data/100x50_100_frames.avi'
overlay_app = ErrorApp(input_file)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment