mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-23 22:07:07 +03:00
start preview frame tests ahead of now
This commit is contained in:
@@ -34,7 +34,9 @@ class TestHttpPreviewFrames(BaseTestHttp):
|
|||||||
patcher.start()
|
patcher.start()
|
||||||
self.addCleanup(patcher.stop)
|
self.addCleanup(patcher.stop)
|
||||||
|
|
||||||
self.start_ts = time.time()
|
# ahead of now so the media routes never fall back to stored previews
|
||||||
|
|
||||||
|
self.start_ts = time.time() + 60
|
||||||
self._write_frame(CAMERA, self.start_ts - 10)
|
self._write_frame(CAMERA, self.start_ts - 10)
|
||||||
self.own_frames = [self._write_frame(CAMERA, self.start_ts + 1)]
|
self.own_frames = [self._write_frame(CAMERA, self.start_ts + 1)]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user