Skip to content

Commit

Permalink
Issue #18: renamed StereoFrameChecker => StereoFrameConsistencyChecker
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Nov 14, 2018
1 parent 5a1b737 commit 6fe2dd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tests/blackmagic/test_stereo.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import time
from pytest import mark
from utils import StereoFrameChecker
from utils import StereoFrameConsistencyChecker
import pygiftgrab as pgg


@mark.stereo_frames
def test_stereo_frames(device, colour_space):
factory = pgg.VideoSourceFactory.get_instance()
source = factory.get_device(device, colour_space)
checker = StereoFrameChecker()
checker = StereoFrameConsistencyChecker()
source.attach(checker)

time.sleep(15)
Expand Down
4 changes: 2 additions & 2 deletions src/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use_numpy = False


class StereoFrameChecker(pgg.IObserver):
class StereoFrameConsistencyChecker(pgg.IObserver):
"""Descendant of GIFT-Grab's `Observer`, which
will listen to `Observable`s for some time and
when asked, will report whether the video
Expand All @@ -18,7 +18,7 @@ class StereoFrameChecker(pgg.IObserver):
"""

def __init__(self):
super(StereoFrameChecker, self).__init__()
super(StereoFrameConsistencyChecker, self).__init__()
self.obtained_consistent_stereo_frames = []

def update(self, frame):
Expand Down

0 comments on commit 6fe2dd4

Please sign in to comment.