@@ -7,12 +7,12 @@ def testCreateOutputFileWithExtension():
7
7
"""
8
8
Create an OutputFile with a filename with extension.
9
9
"""
10
- ext = "mov"
11
- outputFileName = "testCreateOutputFileWithExtension." + ext
10
+ formatName = "mov"
11
+ outputFileName = "testCreateOutputFileWithExtension." + formatName
12
12
ouputFile = av .OutputFile ( outputFileName )
13
13
14
14
assert_equals ( ouputFile .getFilename (), outputFileName )
15
- assert_equals ( ouputFile .getFormatName (), ext )
15
+ assert_equals ( ouputFile .getFormatName (), formatName )
16
16
17
17
18
18
@raises (IOError )
@@ -31,12 +31,12 @@ def testCreateOutputFileWithoutExtensionWithFormat():
31
31
Create an OutputFile with a filename without extension.
32
32
Indicate the format.
33
33
"""
34
- format = "mov"
34
+ formatName = "mov"
35
35
outputFileName = "testCreateOutputFileWithoutExtensionWithFormat"
36
- ouputFile = av .OutputFile ( outputFileName , format )
36
+ ouputFile = av .OutputFile ( outputFileName , formatName )
37
37
38
38
assert_equals ( ouputFile .getFilename (), outputFileName )
39
- assert_equals ( ouputFile .getFormatName (), format )
39
+ assert_equals ( ouputFile .getFormatName (), formatName )
40
40
41
41
42
42
def testCreateOutputFileWithoutExtensionWithMimeType ():
@@ -58,11 +58,11 @@ def testCreateOutputFileWithoutExtensionWithInconsistentFormatAndMimeType():
58
58
Indicate inconsistent format and Mime Type.
59
59
The OutputFile should by-pass the Mime Type.
60
60
"""
61
- format = "mov"
61
+ formatName = "mov"
62
62
mimeType = "application/mp4"
63
63
outputFileName = "testCreateOutputFileWithoutExtensionWithInconsistentFormatAndMimeType"
64
- ouputFile = av .OutputFile ( outputFileName , format , mimeType )
64
+ ouputFile = av .OutputFile ( outputFileName , formatName , mimeType )
65
65
66
66
assert_equals ( ouputFile .getFilename (), outputFileName )
67
- assert_equals ( ouputFile .getFormatName (), format )
67
+ assert_equals ( ouputFile .getFormatName (), formatName )
68
68
0 commit comments