Skip to content

Commit 3270b98

Browse files
author
Clement Champetier
committed
pyTest: test fileSize when check raw video properties
1 parent 4f3afc0 commit 3270b98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/pyTest/testProperties.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ def testCheckRawVideoProperties():
118118
assert_equals(properties.getDuration(), 0) # file duration is unknown
119119
assert_equals(properties.getBitRate(), 0) # file bitrate is unknown
120120

121+
expectedFileSize = 256293L
122+
assert_equals(properties.getFileSize(), expectedFileSize)
123+
121124
expectedBitRate = 177200L
122125
expectedNbFrames = 200
123126
expectedDuration = 8

0 commit comments

Comments
 (0)