aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-10-17 01:04:00 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-10-17 17:39:33 +0530
commit18f96d129b24200debf257153bcc762125d2a1f7 (patch)
treed0af1a99549bd810b305cc880e34e4dd5cbce6f0 /test/test_utils.py
parentec3f6640c1a5391380ff7d47769fb710cf817638 (diff)
downloadhypervideo-pre-18f96d129b24200debf257153bcc762125d2a1f7.tar.lz
hypervideo-pre-18f96d129b24200debf257153bcc762125d2a1f7.tar.xz
hypervideo-pre-18f96d129b24200debf257153bcc762125d2a1f7.zip
[utils] Allow duration strings in filter
Closes #1309
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index d20bca795..7fc431505 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -1231,6 +1231,7 @@ ffmpeg version 2.4.4 Copyright (c) 2000-2014 the FFmpeg ...'''), '2.4.4')
self.assertFalse(match_str('x>2K', {'x': 1200}))
self.assertTrue(match_str('x>=1200 & x < 1300', {'x': 1200}))
self.assertFalse(match_str('x>=1100 & x < 1200', {'x': 1200}))
+ self.assertTrue(match_str('x > 1:0:0', {'x': 3700}))
# String
self.assertFalse(match_str('y=a212', {'y': 'foobar42'}))