@@ -14,7 +14,7 @@ def testCreateOutputFileWithExtension():
14
14
15
15
assert_equals ( ouputFile .getFilename (), outputFileName )
16
16
assert_equals ( ouputFile .getFormatName (), formatName )
17
- assert_equals ( ouputFile .getFormatLongName (), formatLongName )
17
+ assert_in ( ouputFile .getFormatLongName (), ( formatLongName , '' ) )
18
18
19
19
20
20
@raises (IOError )
@@ -38,7 +38,7 @@ def testCreateOutputFileWithoutExtensionWithFormat():
38
38
39
39
assert_equals ( ouputFile .getFilename (), outputFileName )
40
40
assert_equals ( ouputFile .getFormatName (), formatName )
41
- assert_equals ( ouputFile .getFormatLongName (), formatLongName )
41
+ assert_in ( ouputFile .getFormatLongName (), ( formatLongName , '' ) )
42
42
43
43
44
44
def testCreateOutputFileWithUnknownExtensionWithFormat ():
@@ -53,7 +53,7 @@ def testCreateOutputFileWithUnknownExtensionWithFormat():
53
53
54
54
assert_equals (ouputFile .getFilename (), outputFileName )
55
55
assert_equals (ouputFile .getFormatName (), formatName )
56
- assert_equals ( ouputFile .getFormatLongName (), formatLongName )
56
+ assert_in ( ouputFile .getFormatLongName (), ( formatLongName , '' ) )
57
57
58
58
59
59
def testCreateOutputFileWithoutExtensionWithMimeType ():
@@ -83,7 +83,7 @@ def testCreateOutputFileWithoutExtensionWithInconsistentFormatAndMimeType():
83
83
84
84
assert_equals ( ouputFile .getFilename (), outputFileName )
85
85
assert_equals ( ouputFile .getFormatName (), formatName )
86
- assert_equals ( ouputFile .getFormatLongName (), formatLongName )
86
+ assert_in ( ouputFile .getFormatLongName (), ( formatLongName , '' ) )
87
87
assert_not_equals ( ouputFile .getFormatMimeType (), mimeType )
88
88
89
89
0 commit comments