File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ def test_get_type_by_contents(self):
5555
5656 def test_get_type (self ):
5757 # File that doesn't exist - get type by name
58- imgpng = Mime .get_type (example_file ("test.png " ))
59- self .check_mimetype (imgpng , 'image' , 'png ' )
58+ imgpng = Mime .get_type (example_file ("test.gif " ))
59+ self .check_mimetype (imgpng , 'image' , 'gif ' )
6060
6161 # File that does exist - get type by contents
6262 imgpng = Mime .get_type (example_file ("png_file" ))
@@ -80,7 +80,7 @@ def test_get_type(self):
8080
8181 def test_get_type2 (self ):
8282 # File that doesn't exist - use the name
83- self .check_mimetype (Mime .get_type2 (example_file ('test.png ' )), 'image' , 'png ' )
83+ self .check_mimetype (Mime .get_type2 (example_file ('test.gif ' )), 'image' , 'gif ' )
8484
8585 # File that does exist - use the contents
8686 self .check_mimetype (Mime .get_type2 (example_file ('png_file' )), 'image' , 'png' )
You can’t perform that action at this time.
0 commit comments