Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(unittest): fix unittest of video preprocessor 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Larryjianfeng committed Aug 5, 2019
1 parent a6efb4a commit 47efaba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_video_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ def test_video_cut_by_num(self):
client.send_message(msg)
r = client.recv_message()
for d in r.request.index.docs:
self.assertEqual(len(d.chunks), 5)
self.assertEqual(len(d.chunks), 6)
2 changes: 1 addition & 1 deletion tests/yaml/preprocessor-ffmpeg3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!FFmpegVideoSegmentor
parameter:
segment_method: cut_by_num
segment_num: 5
segment_num: 6
s: "192*168"
r: 1
gnes_config:
Expand Down

0 comments on commit 47efaba

Please sign in to comment.